aboutsummaryrefslogtreecommitdiffstats
path: root/Source/MainController.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-04-16 13:55:04 +0000
committerrowanbeentje <rowan@beent.je>2009-04-16 13:55:04 +0000
commit02cc3edfc5a0c64de768812220e78aba26aab81f (patch)
tree97627a337962cfc88fd52af6d98ef1b52aff1d7d /Source/MainController.m
parent20c46135604cfd3a38c55647438264e5360c80a4 (diff)
downloadsequelpro-02cc3edfc5a0c64de768812220e78aba26aab81f.tar.gz
sequelpro-02cc3edfc5a0c64de768812220e78aba26aab81f.tar.bz2
sequelpro-02cc3edfc5a0c64de768812220e78aba26aab81f.zip
- The connection sheet Edit button now opens the favourites list in preferences and selects appropriately; this resolves the initially planned changes for Issue #232.
- Move updateDefaultFavoritePopup in SPPreferenceController to a public method and set TableDocument to update it when adding favorites
Diffstat (limited to 'Source/MainController.m')
-rw-r--r--Source/MainController.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/MainController.m b/Source/MainController.m
index d59d2725..ad90531e 100644
--- a/Source/MainController.m
+++ b/Source/MainController.m
@@ -70,6 +70,18 @@
}
#pragma mark -
+#pragma mark Getters
+
+/**
+ * Provide a method to retrieve the prefs controller
+ */
+- (SPPreferenceController *)preferenceController
+{
+ return prefsController;
+}
+
+
+#pragma mark -
#pragma mark Services menu methods
/**