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