Archived
1

-Fixed a resource bug

-Fixed special characters in url bug (final)
This commit is contained in:
Kim Wittenburg
2012-06-18 19:04:01 +02:00
parent a5d716af91
commit 2567253ed1
6 changed files with 4286 additions and 363 deletions

View File

@@ -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"];