[vlc-commits] macosx: fixed 'Open File...' in the subtitles sub menu (close #6352)
Felix Paul Kühne
git at videolan.org
Sun Mar 11 16:08:30 CET 2012
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Mar 11 16:08:19 2012 +0100| [542b07d310adad4692455396ffa5d52f3fe666b7] | committer: Felix Paul Kühne
macosx: fixed 'Open File...' in the subtitles sub menu (close #6352)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=542b07d310adad4692455396ffa5d52f3fe666b7
---
modules/gui/macosx/MainMenu.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/MainMenu.m b/modules/gui/macosx/MainMenu.m
index a690536..a811e11 100644
--- a/modules/gui/macosx/MainMenu.m
+++ b/modules/gui/macosx/MainMenu.m
@@ -1042,7 +1042,7 @@ static VLCMainMenu *_o_sharedInstance = nil;
{
NSMenuItem * o_lmi_tmp;
o_lmi_tmp = [o_menu addItemWithTitle: _NS("Open File...") action: @selector(addSubtitleFile:) keyEquivalent: @""];
- [o_lmi_tmp setTarget: self];
+ [o_lmi_tmp setTarget: [[VLCMain sharedInstance] controls]];
[o_lmi_tmp setEnabled: YES];
[o_parent setEnabled: YES];
[o_menu addItem: [NSMenuItem separatorItem]];
More information about the vlc-commits
mailing list