aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableView.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-09-30 20:22:21 +0000
committerBibiko <bibiko@eva.mpg.de>2009-09-30 20:22:21 +0000
commit628c5e40844aa54baff93cfb5cafd5d2b473458a (patch)
tree6098b67856ba4767e66ca39fa91f947375b2939e /Source/SPTableView.m
parent885534612cfd9564d54b6f988590e84567181905 (diff)
downloadsequelpro-628c5e40844aa54baff93cfb5cafd5d2b473458a.tar.gz
sequelpro-628c5e40844aa54baff93cfb5cafd5d2b473458a.tar.bz2
sequelpro-628c5e40844aa54baff93cfb5cafd5d2b473458a.zip
• further progress on the Content Filter Editor
• fixed issue for "Add" a new favorite in SPQueryFavoriteManager: - save pending changes in the query textView in beforehand
Diffstat (limited to 'Source/SPTableView.m')
-rw-r--r--Source/SPTableView.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/SPTableView.m b/Source/SPTableView.m
index 9a0db4fc..1727494a 100644
--- a/Source/SPTableView.m
+++ b/Source/SPTableView.m
@@ -51,6 +51,10 @@
if([NSArrayObjectAtIndex([[self delegate] valueForKeyPath:@"favorites"], row) objectForKey:@"headerOfFileURL"])
return nil;
}
+ if([[[[self delegate] class] description] isEqualToString:@"SPContentFilterManager"]) {
+ if([NSArrayObjectAtIndex([[self delegate] valueForKeyPath:@"contentFilters"], row) objectForKey:@"headerOfFileURL"])
+ return nil;
+ }
[self selectRowIndexes:[NSIndexSet indexSetWithIndex:row] byExtendingSelection:NO];
[[self window] makeFirstResponder:self];