Commit 21466d50 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)

(cherry picked from commit e608d2aa90a733e48cfc58f9be73f2aea8c75c94)
parent 8c372e61
...@@ -363,6 +363,10 @@ static VLCOpen *_o_sharedMainInstance = nil; ...@@ -363,6 +363,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