aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-08-20 09:42:33 +0000
committerBibiko <bibiko@eva.mpg.de>2009-08-20 09:42:33 +0000
commit4683cb2e01424de28a95c4c5cc543540e4d96d8d (patch)
treeaf77412ef89b45b9e82aa9bd75fdf1e316d44a0d /Source
parent0d239b324ea6408284af9af62e28aef0c9e2044e (diff)
downloadsequelpro-4683cb2e01424de28a95c4c5cc543540e4d96d8d.tar.gz
sequelpro-4683cb2e01424de28a95c4c5cc543540e4d96d8d.tar.bz2
sequelpro-4683cb2e01424de28a95c4c5cc543540e4d96d8d.zip
• fixed in FieldEditorSheet:
- ensure that all changes made in editTextView are returned (eg for the case one enters as last character a 'ü' which was typed via ⌥uu and presses OK - the last typed u was ignored)
Diffstat (limited to 'Source')
-rw-r--r--Source/SPFieldEditorController.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/SPFieldEditorController.m b/Source/SPFieldEditorController.m
index 61a6635f..deb3ce32 100644
--- a/Source/SPFieldEditorController.m
+++ b/Source/SPFieldEditorController.m
@@ -259,6 +259,10 @@
[editSheet orderOut:nil];
[NSApp endSheet:editSheet];
+ // Ensure all text changes in sheetEditData are returned
+ if([editImage image] == nil)
+ sheetEditData = [[NSString stringWithString:[editTextView string]] retain];
+
// For safety reasons inform QuickLook to quit
quickLookCloseMarker = 1;