diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-10-13 10:14:59 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-10-13 10:14:59 +0000 |
commit | a2a954c933d261e0cb9a0b4eca0d0d1f42902e81 (patch) | |
tree | 452e1800e3c8e399add416ed608e3f9e1874a2ba /Source | |
parent | 9fc4f973499e8d3bf327f699cd0e18d7e640a54d (diff) | |
download | sequelpro-a2a954c933d261e0cb9a0b4eca0d0d1f42902e81.tar.gz sequelpro-a2a954c933d261e0cb9a0b4eca0d0d1f42902e81.tar.bz2 sequelpro-a2a954c933d261e0cb9a0b4eca0d0d1f42902e81.zip |
• Sequel Pro now understands the AppleScript command 'quit' correctly
- this fixed issue 434
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPAppController.h | 4 | ||||
-rw-r--r-- | Source/SPAppController.m | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPAppController.h b/Source/SPAppController.h index 6a5f9b6a..f22cd1d5 100644 --- a/Source/SPAppController.h +++ b/Source/SPAppController.h @@ -52,8 +52,10 @@ // Getters - (SPPreferenceController *)preferenceController; -// Other +// AppleScript handler - (id)handleQuitScriptCommand:(NSScriptCommand *)command; + +// Others - (NSString *)contentOfFile:(NSString *)aPath; @end diff --git a/Source/SPAppController.m b/Source/SPAppController.m index f5023643..e329f796 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -481,13 +481,11 @@ /** - * What exactly is this for? + * AppleScript handler to quit Sequel Pro */ - (id)handleQuitScriptCommand:(NSScriptCommand *)command { [NSApp terminate:self]; - - // Suppress warning return nil; } |