Commit e608d2aa authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: don't initiate a modal dialog during a modal session (close #7575)

parent 26015dac
...@@ -410,6 +410,10 @@ static VLCOpen *_o_sharedMainInstance = nil; ...@@ -410,6 +410,10 @@ static VLCOpen *_o_sharedMainInstance = nil;
- (void)openTarget:(int)i_type - (void)openTarget:(int)i_type
{ {
/* check whether we already run a modal dialog */
if ([NSApp modalWindow] != nil)
return;
int i_result; int i_result;
b_autoplay = config_GetInt(VLCIntf, "macosx-autoplay"); b_autoplay = config_GetInt(VLCIntf, "macosx-autoplay");
......
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