aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFieldEditorController.m
diff options
context:
space:
mode:
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];
}