aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-01 14:30:47 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-01 14:30:47 +0000
commit590585d37bdd8453dd1020cefe27dd55a77de5aa (patch)
tree2b04273612ce09289ee0fc57e0c853fd4faf6fad /Source/SPDatabaseDocument.m
parentb39f7d5d692432c503358ce6b5a6f104164cab6c (diff)
downloadsequelpro-590585d37bdd8453dd1020cefe27dd55a77de5aa.tar.gz
sequelpro-590585d37bdd8453dd1020cefe27dd55a77de5aa.tar.bz2
sequelpro-590585d37bdd8453dd1020cefe27dd55a77de5aa.zip
• disable "New Connection Tab" ⌘T menu item if a sheet is ordered out
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r--Source/SPDatabaseDocument.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m
index 914ab259..beb8ab5a 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -3555,7 +3555,7 @@
}
if (!_isConnected || _isWorkingLevel) {
- return ([menuItem action] == @selector(newWindow:) || [menuItem action] == @selector(terminate:) || [menuItem action] == @selector(closeTab:) || [menuItem action] == @selector(newTab:));
+ return ([menuItem action] == @selector(newWindow:) || [menuItem action] == @selector(terminate:) || [menuItem action] == @selector(closeTab:));
}
if ([menuItem action] == @selector(openCurrentConnectionInNewWindow:))