diff options
author | rowanbeentje <rowan@beent.je> | 2011-03-14 01:26:57 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2011-03-14 01:26:57 +0000 |
commit | f63d1de5460968e5466be02676c8c6f9ed8787b6 (patch) | |
tree | c66735047936114febbddcb0a963d43cfd868db5 /Source/SPTableContent.m | |
parent | 52eb2680673fca634013fa45ef16f4173a33c880 (diff) | |
download | sequelpro-f63d1de5460968e5466be02676c8c6f9ed8787b6.tar.gz sequelpro-f63d1de5460968e5466be02676c8c6f9ed8787b6.tar.bz2 sequelpro-f63d1de5460968e5466be02676c8c6f9ed8787b6.zip |
- Fix more warnings
Diffstat (limited to 'Source/SPTableContent.m')
-rw-r--r-- | Source/SPTableContent.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m index c4eb9f57..9cf2e72f 100644 --- a/Source/SPTableContent.m +++ b/Source/SPTableContent.m @@ -2648,7 +2648,7 @@ // Save any edits which have been made but not saved to the table yet; // but not for any NSSearchFields which could cause a crash for undo, redo. if([[[tableDocumentInstance parentWindow] firstResponder] respondsToSelector:@selector(delegate)] - && ![[[[tableDocumentInstance parentWindow] firstResponder] delegate] isKindOfClass:[NSSearchField class]]) + && ![[(id)[[tableDocumentInstance parentWindow] firstResponder] delegate] isKindOfClass:[NSSearchField class]]) [[tableDocumentInstance parentWindow] endEditingFor:nil]; // If no rows are currently being edited, or a save is in progress, return success at once. |