-Fixed a resource bug
-Fixed special characters in url bug (final)
This commit is contained in:
@@ -34,6 +34,13 @@
|
||||
[mainController loadFromDefaults:defaults];
|
||||
}
|
||||
|
||||
-(BOOL)applicationShouldHandleReopen:(NSApplication *)sender hasVisibleWindows:(BOOL)flag {
|
||||
if (!flag) {
|
||||
[window makeKeyAndOrderFront:self];
|
||||
}
|
||||
return YES;
|
||||
}
|
||||
|
||||
-(NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender {
|
||||
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
|
||||
[defaults setBool:[quitWhenAllWindowClosedCheckBox state] == NSOnState forKey:@"Quit when all windows are closed"];
|
||||
|
||||
Reference in New Issue
Block a user