diff options
author | avenjamin <avenjamin@gmail.com> | 2009-04-20 15:29:33 +0000 |
---|---|---|
committer | avenjamin <avenjamin@gmail.com> | 2009-04-20 15:29:33 +0000 |
commit | 3d8cf2bf36d8a4ebb3e46623f58bf1652854716d (patch) | |
tree | a7a3fe91e62c31def53a2ab94c676509f22fd7c3 /Source/SPQueryConsole.m | |
parent | 88335cc276770e86fb347405288b5f4ec0256926 (diff) | |
download | sequelpro-3d8cf2bf36d8a4ebb3e46623f58bf1652854716d.tar.gz sequelpro-3d8cf2bf36d8a4ebb3e46623f58bf1652854716d.tar.bz2 sequelpro-3d8cf2bf36d8a4ebb3e46623f58bf1652854716d.zip |
- Changed console window to match style of main window.
- New bottom bar.
- Both checkboxes moved into gear button with menu.
- Clear Console button has new custom image
Diffstat (limited to 'Source/SPQueryConsole.m')
-rw-r--r-- | Source/SPQueryConsole.m | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/SPQueryConsole.m b/Source/SPQueryConsole.m index 7106f49a..43177ae1 100644 --- a/Source/SPQueryConsole.m +++ b/Source/SPQueryConsole.m @@ -200,7 +200,8 @@ static SPQueryConsole *sharedQueryConsole = nil; */ - (IBAction)toggleShowTimeStamps:(id)sender { - [[consoleTableView tableColumnWithIdentifier:TABLEVIEW_DATE_COLUMN_IDENTIFIER] setHidden:(![sender intValue])]; + [[consoleTableView tableColumnWithIdentifier:TABLEVIEW_DATE_COLUMN_IDENTIFIER] setHidden:([sender state])]; + [showTimeStampsMenuItem setState:![sender state]]; } /** @@ -208,9 +209,11 @@ static SPQueryConsole *sharedQueryConsole = nil; */ - (IBAction)toggleShowSelectShowStatements:(id)sender { + showSelectStatementsAreDisabled = [sender state]; + // Store the state of the toggle for later quick reference - showSelectStatementsAreDisabled = ![sender intValue]; - + [showSelectShowStatementsMenuItem setState:!showSelectStatementsAreDisabled]; + [self _updateFilterState]; } |