aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPWindowController.h
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-11-06 00:26:12 +0100
committerMax <post@wickenrode.com>2015-11-06 00:26:12 +0100
commit5cd12392fa26ab93303b6b6b43de5a1a31a834f7 (patch)
tree3b121d3577cbe8a1053597a258ca1263d99c30e1 /Source/SPWindowController.h
parentba4469e78d664751b4da2d2d62db16163e838208 (diff)
downloadsequelpro-5cd12392fa26ab93303b6b6b43de5a1a31a834f7.tar.gz
sequelpro-5cd12392fa26ab93303b6b6b43de5a1a31a834f7.tar.bz2
sequelpro-5cd12392fa26ab93303b6b6b43de5a1a31a834f7.zip
* Change window creation to use a create-and-get model instead of create-then-get as that did cause problems on 10.11 in some cases (#2294)
backport of ea1d72868aabba227aa608a2a89079aa12ac70a1
Diffstat (limited to 'Source/SPWindowController.h')
-rw-r--r--Source/SPWindowController.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPWindowController.h b/Source/SPWindowController.h
index a86a85f9..528c1c84 100644
--- a/Source/SPWindowController.h
+++ b/Source/SPWindowController.h
@@ -50,6 +50,8 @@
- (IBAction)addNewConnection:(id)sender;
- (IBAction)moveSelectedTabInNewWindow:(id)sender;
+- (SPDatabaseDocument *)addNewConnection;
+
/**
* @danger THIS IS NOT RETAINED!!!
*