aboutsummaryrefslogtreecommitdiffstats
path: root/Source/MainController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/MainController.m')
-rw-r--r--Source/MainController.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/MainController.m b/Source/MainController.m
index c5e2eeb0..8c76014a 100644
--- a/Source/MainController.m
+++ b/Source/MainController.m
@@ -33,6 +33,10 @@ opens the preferences window
*/
- (IBAction)openPreferences:(id)sender
{
+
+ // Synchronize the prefs to disk to pick up any changes made to favourites in connection sheets
+ [prefs synchronize];
+
//get favorites if they exist
[favorites release];
if ( [prefs objectForKey:@"favorites"] != nil ) {
@@ -627,6 +631,7 @@ checks for updates and opens download page in default browser
[prefs setObject:[encodingPopUpButton titleOfSelectedItem] forKey:@"encoding"];
[prefs setObject:favorites forKey:@"favorites"];
+ [prefs synchronize];
}
return YES;
}