aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFieldEditorController.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/SPFieldEditorController.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/SPFieldEditorController.h')
-rw-r--r--Source/SPFieldEditorController.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPFieldEditorController.h b/Source/SPFieldEditorController.h
index 4e978646..1fc3f812 100644
--- a/Source/SPFieldEditorController.h
+++ b/Source/SPFieldEditorController.h
@@ -22,6 +22,7 @@
//
// More info at <http://code.google.com/p/sequel-pro/>
+@class SPWindow;
/**
* @class SPFieldEditorController SPFieldEditorController.h
@@ -44,7 +45,7 @@
IBOutlet id hexTextView;
IBOutlet id editTextScrollView;
IBOutlet id hexTextScrollView;
- IBOutlet id editSheet;
+ IBOutlet SPWindow *editSheet;
IBOutlet id editSheetCancelButton;
IBOutlet id editSheetIsNotEditableCancelButton;
IBOutlet id editSheetOkButton;