aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPEditSheetTextView.m
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/SPEditSheetTextView.m
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/SPEditSheetTextView.m')
-rw-r--r--Source/SPEditSheetTextView.m17
1 files changed, 0 insertions, 17 deletions
diff --git a/Source/SPEditSheetTextView.m b/Source/SPEditSheetTextView.m
index b028c177..a5d110a6 100644
--- a/Source/SPEditSheetTextView.m
+++ b/Source/SPEditSheetTextView.m
@@ -343,21 +343,4 @@
[self saveChangedFontInUserDefaults];
}
-/**
- * Needed to allow Find Panel inside the textView if it runs in a sheet
- */
-- (BOOL)becomeFirstResponder
-{
- return YES;
-}
-
-/**
- * Needed to allow Find Panel inside the textView if it runs in a sheet
- */
-- (BOOL)resignFirstResponder
-{
- return YES;
-}
-
-
@end