Made preferences window get focus

Made it get focus when opening from the status bar menu.
This commit is contained in:
Robert McGovern 2021-05-31 23:03:20 +01:00
parent 4a18277a3a
commit bba540f8b6
1 changed files with 2 additions and 1 deletions

View File

@ -249,7 +249,8 @@ BOOL appRunning = NO;
preferencesWindowController.quietUnrar = self;
}
[preferencesWindowController showWindow:nil];
[preferencesWindowController.window makeKeyAndOrderFront:self];
[NSApp activateIgnoringOtherApps:YES];
}
- (void) quit {