Commit 197f1a81 authored by David Fuhrmann's avatar David Fuhrmann

macosx: automatically update subtitles submenus (fixes #8648)

parent d45f4c0a
......@@ -1519,6 +1519,10 @@ static VLCMainMenu *_o_sharedInstance = nil;
}
[self setupMenus]; /* Make sure video menu is up to date */
} else if ([o_title isEqualToString: _NS("Add Subtitle File...")]) {
bEnabled = [o_mi isEnabled];
[self setupMenus]; /* Make sure subtitles menu is up to date */
} else {
NSMenuItem *o_mi_parent = [o_mi parentItem];
if (o_mi_parent == o_mi_subtitle_size || o_mi == o_mi_subtitle_size ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment