From 3d87e7f7150c40fb4434bb4be05665da0a8915dc Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Thu, 17 Jun 2010 01:18:57 +0000 Subject: - Further improve appearance of Sequel Pro tab style (still hidden): fixed drawing glitches, improved spacing, improved edge drawing - Enable tab switch commands even when documents are working --- Source/SPWindowController.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source') diff --git a/Source/SPWindowController.m b/Source/SPWindowController.m index e5e2ca13..1a90592c 100644 --- a/Source/SPWindowController.m +++ b/Source/SPWindowController.m @@ -265,9 +265,6 @@ - (BOOL) validateMenuItem:(NSMenuItem *)menuItem { - // See if the front document blocks validation of this item - if (![selectedTableDocument validateMenuItem:menuItem]) return NO; - // Select Next/Previous/Move Tab if ( [menuItem action] == @selector(selectPreviousDocumentTab:) || [menuItem action] == @selector(selectNextDocumentTab:) @@ -276,6 +273,9 @@ return ([tabView numberOfTabViewItems] != 1); } + // See if the front document blocks validation of this item + if (![selectedTableDocument validateMenuItem:menuItem]) return NO; + return YES; } -- cgit v1.2.3