diff options
Diffstat (limited to 'Source/SPFieldEditorController.m')
-rw-r--r-- | Source/SPFieldEditorController.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPFieldEditorController.m b/Source/SPFieldEditorController.m index 7b52bbf8..2db46a10 100644 --- a/Source/SPFieldEditorController.m +++ b/Source/SPFieldEditorController.m @@ -43,6 +43,7 @@ (void) [self window]; counter = 0; maxTextLength = 0; + stringValue = nil; prefs = [NSUserDefaults standardUserDefaults]; @@ -262,7 +263,7 @@ else [editSheet makeFirstResponder:editImage]; - [stringValue release]; + [stringValue release], stringValue = nil; } editSheetWillBeInitialized = NO; |