aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAlertSheets.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-08-19 20:28:39 +0000
committerBibiko <bibiko@eva.mpg.de>2010-08-19 20:28:39 +0000
commitfdf2f07d8dfd4260c2dd5dd3326ad7206c1e30f1 (patch)
treef3029d320bf887a3bf360cb7ae8163f447fb26e8 /Source/SPAlertSheets.m
parent692e6e7330d9a6fd0227f74c1665ddc0b19cc4c6 (diff)
downloadsequelpro-fdf2f07d8dfd4260c2dd5dd3326ad7206c1e30f1.tar.gz
sequelpro-fdf2f07d8dfd4260c2dd5dd3326ad7206c1e30f1.tar.bz2
sequelpro-fdf2f07d8dfd4260c2dd5dd3326ad7206c1e30f1.zip
• made usage of SPBeginWaitingAlertSheet while closing a spf file for readability of that spf file
• suppress if a window with one tab will be closed that [... parentTabShouldClose] method will be called twice via closeTab: - this issue could be the reason for recent crashes/exception esp. of the NSNavigator (should be investigated further)
Diffstat (limited to 'Source/SPAlertSheets.m')
-rw-r--r--Source/SPAlertSheets.m7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/SPAlertSheets.m b/Source/SPAlertSheets.m
index b16b7c19..bcaea921 100644
--- a/Source/SPAlertSheets.m
+++ b/Source/SPAlertSheets.m
@@ -72,11 +72,10 @@ void SPBeginAlertSheet(
[[docWindow onMainThread] makeKeyWindow];
}
-
/**
- * Provide a simple alias of NSBeginAlertSheet which waits for a in calling class globally
- * declared returnCode by reference which must be changed in the didEndSelector
- * of the calling class, with a few differences:
+ * Provide a simple alias of a NSApp-wide modal NSBeginAlertSheet which waits
+ * for a in calling class globally declared returnCode by reference which must
+ * be changed in the didEndSelector of the calling class, with a few differences:
* - printf-type format strings are no longer supported within the "msg"
* message text argument, preventing access of random stack areas for
* error text which contains inadvertant printf formatting.