diff options
author | stuconnolly <stuart02@gmail.com> | 2012-01-11 23:03:33 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-01-11 23:03:33 +0000 |
commit | 24837e4f269c7ad44c555066d7f5d3d9c4d2c139 (patch) | |
tree | c2eca971ab873825ea09a444c0c764e32e341baf /Source/SPPreferenceController.m | |
parent | 425a60ca9fe7b7e9883542c80a80328f9b6eb625 (diff) | |
download | sequelpro-24837e4f269c7ad44c555066d7f5d3d9c4d2c139.tar.gz sequelpro-24837e4f269c7ad44c555066d7f5d3d9c4d2c139.tar.bz2 sequelpro-24837e4f269c7ad44c555066d7f5d3d9c4d2c139.zip |
Protect against dodgy preference data that may case bounds exceptions when selecting the default favorite in the general preference pane.
Diffstat (limited to 'Source/SPPreferenceController.m')
-rw-r--r-- | Source/SPPreferenceController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPPreferenceController.m b/Source/SPPreferenceController.m index ed0d0ebe..0d6d46aa 100644 --- a/Source/SPPreferenceController.m +++ b/Source/SPPreferenceController.m @@ -145,7 +145,7 @@ // Set the default favorite popup back to preference if ([sender isKindOfClass:[NSMenuItem class]]) { - [generalPreferencePane resetDefaultFavoritePopupSelection]; + [generalPreferencePane updateDefaultFavoritePopupSelection]; } } |