aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCustomQuery.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPCustomQuery.m')
-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