aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2011-05-09 20:08:53 +0000
committerstuconnolly <stuart02@gmail.com>2011-05-09 20:08:53 +0000
commit5914260a1ca2db3da190fde077145756ba169bf4 (patch)
tree88e05c7abf6e3832da2e1ae6b57068700610fd3a /Source/SPDatabaseDocument.m
parent4efbaf34545f7a11baf3b426b8a9b1c25f4f93c7 (diff)
downloadsequelpro-5914260a1ca2db3da190fde077145756ba169bf4.tar.gz
sequelpro-5914260a1ca2db3da190fde077145756ba169bf4.tar.bz2
sequelpro-5914260a1ca2db3da190fde077145756ba169bf4.zip
Add the ability to double click a tab to duplicate the connection in a new tab (equivalent to the 'Open Database in New Tab' menu item). Implements issue #1040.
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r--Source/SPDatabaseDocument.m7
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m
index 44dd929d..c8f926e1 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -80,7 +80,7 @@
// Constants
static NSString *SPCreateSyntx = @"SPCreateSyntax";
-@interface SPDatabaseDocument (PrivateAPI)
+@interface SPDatabaseDocument ()
#ifndef SP_REFACTOR /* method decls */
- (void)_addDatabase;
@@ -3177,7 +3177,6 @@ static NSString *SPCreateSyntx = @"SPCreateSyntax";
*/
- (IBAction)openDatabaseInNewTab:(id)sender
{
-
// Add a new tab to the window
[[parentWindow windowController] addNewConnection:self];
@@ -5607,10 +5606,6 @@ static NSString *SPCreateSyntx = @"SPCreateSyntax";
return tablesListInstance;
}
-@end
-
-@implementation SPDatabaseDocument (PrivateAPI)
-
#ifndef SP_REFACTOR /* whole database operations */
- (void)_copyDatabase