aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-04-20 22:18:53 +0000
committerrowanbeentje <rowan@beent.je>2009-04-20 22:18:53 +0000
commitdf1a52e8bde8da8f8dbd58d50c2db45ab8102a5c (patch)
tree9f3d771b4f9d46b93320414e9e2428eee800bcfe /Source
parentb4a8cff145c8bca1f48cbb0ee58e5b122e1667ee (diff)
downloadsequelpro-df1a52e8bde8da8f8dbd58d50c2db45ab8102a5c.tar.gz
sequelpro-df1a52e8bde8da8f8dbd58d50c2db45ab8102a5c.tar.bz2
sequelpro-df1a52e8bde8da8f8dbd58d50c2db45ab8102a5c.zip
- If filters are active and adding messages to the console, ensure the save/clear buttons are enabled
Diffstat (limited to 'Source')
-rw-r--r--Source/SPQueryConsole.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPQueryConsole.m b/Source/SPQueryConsole.m
index 43177ae1..1bfcd620 100644
--- a/Source/SPQueryConsole.m
+++ b/Source/SPQueryConsole.m
@@ -465,6 +465,8 @@ static SPQueryConsole *sharedQueryConsole = nil;
&& [self _messageMatchesCurrentFilters:[consoleMessage message]])
{
[messagesFilteredSet addObject:[messagesFullSet lastObject]];
+ [saveConsoleButton setEnabled:YES];
+ [clearConsoleButton setEnabled:YES];
}
// Reload the table and scroll to the new message