aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Word Count/AppDelegate.applescript6
1 files changed, 5 insertions, 1 deletions
diff --git a/Word Count/AppDelegate.applescript b/Word Count/AppDelegate.applescript
index 8cc0d1e..ff505b5 100644
--- a/Word Count/AppDelegate.applescript
+++ b/Word Count/AppDelegate.applescript
@@ -36,5 +36,9 @@ script AppDelegate
-- Insert code here to do any housekeeping before your application quits
return current application's NSTerminateNow
end applicationShouldTerminate_
-
+
+ on applicationShouldTerminateAfterLastWindowClosed_(sender)
+ return YES
+ end applicationShouldTerminateAfterLastWindowClosed_
+
end script