diff options
Diffstat (limited to 'Source/SPTableContent.m')
-rw-r--r-- | Source/SPTableContent.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m index 0be238ba..89a73138 100644 --- a/Source/SPTableContent.m +++ b/Source/SPTableContent.m @@ -3363,10 +3363,10 @@ static NSString *SPTableFilterSetDefaultOperator = @"SPTableFilterSetDefaultOper } } } - - if(fieldEditor) { - SPClear(fieldEditor); - } + + // this is a delegate method of the field editor controller. calling release + // now would risk a dealloc while it is still our parent on the stack: + [fieldEditor autorelease], fieldEditor = nil; [[tableContentView window] makeFirstResponder:tableContentView]; |