diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-08-20 09:42:33 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-08-20 09:42:33 +0000 |
commit | 4683cb2e01424de28a95c4c5cc543540e4d96d8d (patch) | |
tree | af77412ef89b45b9e82aa9bd75fdf1e316d44a0d | |
parent | 0d239b324ea6408284af9af62e28aef0c9e2044e (diff) | |
download | sequelpro-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)
-rw-r--r-- | Source/SPFieldEditorController.m | 4 |
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; |