aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPWindow.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-04-24 00:05:50 +0000
committerrowanbeentje <rowan@beent.je>2012-04-24 00:05:50 +0000
commit76d1d9d7fe2046bcf9281f95c5a7b541d49e6a0b (patch)
treea582f71ba9e26440db2b4aa28a24f0824796239e /Source/SPWindow.h
parent3b079c8d06ee5676190c9f11aec3b64f4631b048 (diff)
downloadsequelpro-76d1d9d7fe2046bcf9281f95c5a7b541d49e6a0b.tar.gz
sequelpro-76d1d9d7fe2046bcf9281f95c5a7b541d49e6a0b.tar.bz2
sequelpro-76d1d9d7fe2046bcf9281f95c5a7b541d49e6a0b.zip
- Rework edit sheet find/replace handling; instead of altering the main window's firstResponder, which only worked under certain NSTextView focus conditions, allow the field edit sheet to become the main window. This fixes issues with the Find/Replace dialog not fully working correctly in the edit sheet.
Diffstat (limited to 'Source/SPWindow.h')
-rw-r--r--Source/SPWindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPWindow.h b/Source/SPWindow.h
index 74c4f804..9809f3d3 100644
--- a/Source/SPWindow.h
+++ b/Source/SPWindow.h
@@ -25,5 +25,10 @@
#import <Cocoa/Cocoa.h>
@interface SPWindow : NSWindow
+{
+ BOOL isSheetWhichCanBecomeMain;
+}
+
+@property (assign) BOOL isSheetWhichCanBecomeMain;
@end