diff options
author | rowanbeentje <rowan@beent.je> | 2010-06-17 01:18:57 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-06-17 01:18:57 +0000 |
commit | 3d87e7f7150c40fb4434bb4be05665da0a8915dc (patch) | |
tree | 305f82db7bf0eef5f106040e5c1dae8976562e8e /Source | |
parent | 2c3f993d57b42304d24a0cae2d8a8c0d15925a73 (diff) | |
download | sequelpro-3d87e7f7150c40fb4434bb4be05665da0a8915dc.tar.gz sequelpro-3d87e7f7150c40fb4434bb4be05665da0a8915dc.tar.bz2 sequelpro-3d87e7f7150c40fb4434bb4be05665da0a8915dc.zip |
- 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
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPWindowController.m | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |