aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2014-12-13 20:24:58 +0100
committerMax <post@wickenrode.com>2014-12-13 20:24:58 +0100
commit28a705f74854d5c34d0e952c0747a512c19fadc2 (patch)
treeb8998b027b8c2756f8476ec29c1f5d0c89a09b41 /Source
parent3b251b8e3d4dc9a694ef76562b388ab07da54785 (diff)
downloadsequelpro-28a705f74854d5c34d0e952c0747a512c19fadc2.tar.gz
sequelpro-28a705f74854d5c34d0e952c0747a512c19fadc2.tar.bz2
sequelpro-28a705f74854d5c34d0e952c0747a512c19fadc2.zip
Fix issue #2040
Changing the query favorties/history would cause an UI inconsitency when the list was filtered before.
Diffstat (limited to 'Source')
-rw-r--r--Source/SPCustomQuery.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m
index 94d1b355..216cafa8 100644
--- a/Source/SPCustomQuery.m
+++ b/Source/SPCustomQuery.m
@@ -3363,6 +3363,9 @@
if(numberOfHistoryItems>0)
for(id historyMenuItem in [[SPQueryController sharedQueryController] historyMenuItemsForFileURL:[tableDocumentInstance fileURL]])
[historyMenu addItem:historyMenuItem];
+
+ // Reapply the filter
+ [self filterQueryHistory:nil];
}
/**
@@ -3431,6 +3434,9 @@
[menu addItem:item];
[item release];
}
+
+ // Reapply the filter
+ [self filterQueryFavorites:nil];
}
#endif