aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPQueryControllerInitializer.m
diff options
context:
space:
mode:
authorStuart Connolly <stuart02@gmail.com>2014-08-28 19:08:14 +0100
committerStuart Connolly <stuart02@gmail.com>2014-08-28 19:08:14 +0100
commit310fb079c75d551bf2a129b69c897905ca83e061 (patch)
treeae163e957f6e43c49fef9014a96f8cab7b99cbfa /Source/SPQueryControllerInitializer.m
parente3c342d623b24a55215fadb3b7c72f80df303e83 (diff)
downloadsequelpro-310fb079c75d551bf2a129b69c897905ca83e061.tar.gz
sequelpro-310fb079c75d551bf2a129b69c897905ca83e061.tar.bz2
sequelpro-310fb079c75d551bf2a129b69c897905ca83e061.zip
Resolve #1938: In the query console display the database the query was executed in.
Diffstat (limited to 'Source/SPQueryControllerInitializer.m')
-rw-r--r--Source/SPQueryControllerInitializer.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPQueryControllerInitializer.m b/Source/SPQueryControllerInitializer.m
index 93854863..8890a607 100644
--- a/Source/SPQueryControllerInitializer.m
+++ b/Source/SPQueryControllerInitializer.m
@@ -57,6 +57,7 @@ static NSString *SPCompletionTokensSnippetsKey = @"function_argument_snippets";
// Show/hide table columns
[[consoleTableView tableColumnWithIdentifier:SPTableViewDateColumnID] setHidden:![prefs boolForKey:SPConsoleShowTimestamps]];
[[consoleTableView tableColumnWithIdentifier:SPTableViewConnectionColumnID] setHidden:![prefs boolForKey:SPConsoleShowConnections]];
+ [[consoleTableView tableColumnWithIdentifier:SPTableViewDatabaseColumnID] setHidden:![prefs boolForKey:SPConsoleShowDatabases]];
showSelectStatementsAreDisabled = ![prefs boolForKey:SPConsoleShowSelectsAndShows];
showHelpStatementsAreDisabled = ![prefs boolForKey:SPConsoleShowHelps];