diff options
author | stuconnolly <stuart02@gmail.com> | 2009-03-30 11:03:10 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-03-30 11:03:10 +0000 |
commit | 502a20d95b674f2477c85f2056af26a22838781f (patch) | |
tree | eeabffc6dcb577df03730c29219cbcbe855304da /Source/TableDocument.m | |
parent | 41ada255b224dea287dcd178e8840f6869f6ad10 (diff) | |
download | sequelpro-502a20d95b674f2477c85f2056af26a22838781f.tar.gz sequelpro-502a20d95b674f2477c85f2056af26a22838781f.tar.bz2 sequelpro-502a20d95b674f2477c85f2056af26a22838781f.zip |
Fix 'Clear Console' menu item, which was disabled because of missing 'clearConsole:' method in TableDocument.m.
Diffstat (limited to 'Source/TableDocument.m')
-rw-r--r-- | Source/TableDocument.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 142fa0c8..7585ed34 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -610,6 +610,14 @@ NSString *TableDocumentFavoritesControllerFavoritesDidChange = @"TableDocumentFa [[[SPQueryConsole sharedQueryConsole] window] setIsVisible:![[[SPQueryConsole sharedQueryConsole] window] isVisible]]; } +/** + * Clears the console by removing all of its messages + */ +- (void)clearConsole:(id)sender +{ + [[SPQueryConsole sharedQueryConsole] clearConsole:sender]; +} + #pragma mark Encoding Methods /** |