aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFieldEditorController.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-08-27 07:54:26 +0000
committerBibiko <bibiko@eva.mpg.de>2009-08-27 07:54:26 +0000
commit916b09fc4c96f1c35fb485e849c4dd636e2282fc (patch)
treef4d449ad52efe481520452b7eec7613c83b3ae82 /Source/SPFieldEditorController.m
parente03c42246d5b1f926842b900688568776c715cdb (diff)
downloadsequelpro-916b09fc4c96f1c35fb485e849c4dd636e2282fc.tar.gz
sequelpro-916b09fc4c96f1c35fb485e849c4dd636e2282fc.tar.bz2
sequelpro-916b09fc4c96f1c35fb485e849c4dd636e2282fc.zip
• SPFieldEditorSheet
- ESC and ENTER will close a non-editable sheet * SPTooltip - first check if tooltip should be closed and then forward the current event (this fixes an issue if a tooltip is shown while a modal window appears which could block the closing of the tooltip
Diffstat (limited to 'Source/SPFieldEditorController.m')
-rw-r--r--Source/SPFieldEditorController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPFieldEditorController.m b/Source/SPFieldEditorController.m
index deb3ce32..de7e87c4 100644
--- a/Source/SPFieldEditorController.m
+++ b/Source/SPFieldEditorController.m
@@ -97,9 +97,9 @@
[editTextScrollView setHidden:YES];
if(!isEditable) {
- [editSheetOkButton setTitle:NSLocalizedString(@"Close", @"close button title")];
- [editSheetOkButton setKeyEquivalent:@"\033"]; // ESC key
+ [editSheetOkButton setHidden:YES];
[editSheetCancelButton setHidden:YES];
+ [editSheetIsNotEditableCancelButton setHidden:NO];
[editSheetOpenButton setEnabled:NO];
}