From 3d8cf2bf36d8a4ebb3e46623f58bf1652854716d Mon Sep 17 00:00:00 2001 From: avenjamin Date: Mon, 20 Apr 2009 15:29:33 +0000 Subject: - 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 --- Source/SPQueryConsole.m | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Source/SPQueryConsole.m') 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]; } -- cgit v1.2.3