Commit 71cb1478 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed 'Open File...' in the subtitles sub menu (close #6352)

(cherry picked from commit 542b07d3)
parent a194b4cd
......@@ -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]];
......
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