Fix crash when canceling download, fix a runtime warning in osx.
This commit is contained in:
@@ -49,9 +49,9 @@
|
||||
|
||||
- (void)launchFilePicker:(NSArray *)args
|
||||
{
|
||||
hide_menubar_if_necessary();
|
||||
[NSApp activateIgnoringOtherApps:YES];
|
||||
|
||||
hide_menubar_if_necessary();
|
||||
|
||||
NSOpenPanel *op = [NSOpenPanel openPanel];
|
||||
[op setLevel:CGShieldingWindowLevel()];
|
||||
[op setAllowsMultipleSelection:NO];
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user