aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPQueryController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-11-10 00:34:38 +0000
committerstuconnolly <stuart02@gmail.com>2009-11-10 00:34:38 +0000
commit1f61c15c5b5cc6955533865c811775af3bd58e3e (patch)
tree4bf423fa51f8222b09a99e556ff9564dacd9b794 /Source/SPQueryController.m
parent10c7995efabe8ba96fbaaaff88b3f06a8c0d5cde (diff)
downloadsequelpro-1f61c15c5b5cc6955533865c811775af3bd58e3e.tar.gz
sequelpro-1f61c15c5b5cc6955533865c811775af3bd58e3e.tar.bz2
sequelpro-1f61c15c5b5cc6955533865c811775af3bd58e3e.zip
Validate the the 'Clear Console' menu item in TableDocument in addition to SPQueryController as it will never be called in SPQueryController if the console isn't visible.
Diffstat (limited to 'Source/SPQueryController.m')
-rw-r--r--Source/SPQueryController.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPQueryController.m b/Source/SPQueryController.m
index 8d38e72f..eeca9323 100644
--- a/Source/SPQueryController.m
+++ b/Source/SPQueryController.m
@@ -395,6 +395,7 @@ static SPQueryController *sharedQueryController = nil;
return ([consoleTableView numberOfSelectedRows] > 0);
}
+ // Clear console
if ([menuItem action] == @selector(clearConsole:)) {
return ([self consoleMessageCount] > 0);
}