From 4683cb2e01424de28a95c4c5cc543540e4d96d8d Mon Sep 17 00:00:00 2001 From: Bibiko Date: Thu, 20 Aug 2009 09:42:33 +0000 Subject: =?UTF-8?q?=E2=80=A2=20fixed=20in=20FieldEditorSheet:=20-=20ensure?= =?UTF-8?q?=20that=20all=20changes=20made=20in=20editTextView=20are=20retu?= =?UTF-8?q?rned=20(eg=20for=20the=20case=20one=20enters=20as=20last=20char?= =?UTF-8?q?acter=20a=20'=C3=BC'=20which=20was=20typed=20via=20=E2=8C=A5uu?= =?UTF-8?q?=20and=20presses=20OK=20-=20the=20last=20typed=20u=20was=20igno?= =?UTF-8?q?red)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPFieldEditorController.m | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source') 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; -- cgit v1.2.3