Commit de75cf1d authored by David Fuhrmann's avatar David Fuhrmann Committed by Jean-Baptiste Kempf

macosx: proper menu validation for all menus

Especially this fixes validation for audio and playback menus.
Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
(cherry picked from commit a6fcfb77)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1ff9b08f
......@@ -37,6 +37,7 @@
#import "open.h"
#import "controls.h"
#import "playlist.h"
#import "MainMenu.h"
#import "CoreInteraction.h"
#import <vlc_keys.h>
......@@ -403,3 +404,12 @@
}
@end
@implementation VLCControls (NSMenuValidation)
- (BOOL)validateMenuItem:(NSMenuItem *)o_mi
{
return [[VLCMainMenu sharedInstance] validateMenuItem:o_mi];
}
@end
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