aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPPreferenceController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-03-27 02:54:55 +0000
committerstuconnolly <stuart02@gmail.com>2010-03-27 02:54:55 +0000
commitaec2fcca44cd97cbf595c3e377d5f88250fe41a1 (patch)
tree31b5834745963164bf21c73167aa5fcff5129743 /Source/SPPreferenceController.m
parent397823b66a92724b40d015160cc32f514c2b7214 (diff)
downloadsequelpro-aec2fcca44cd97cbf595c3e377d5f88250fe41a1.tar.gz
sequelpro-aec2fcca44cd97cbf595c3e377d5f88250fe41a1.tar.bz2
sequelpro-aec2fcca44cd97cbf595c3e377d5f88250fe41a1.zip
Fix an exception caused when selecting the default favorite popup button. Caused by the addition of validateMenuItem: in r2015.
Diffstat (limited to 'Source/SPPreferenceController.m')
-rw-r--r--Source/SPPreferenceController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPPreferenceController.m b/Source/SPPreferenceController.m
index af80ba7f..33cc9e81 100644
--- a/Source/SPPreferenceController.m
+++ b/Source/SPPreferenceController.m
@@ -1113,7 +1113,7 @@
return ([favoritesTableView numberOfSelectedRows] > 0);
}
- return [super validateMenuItem:menuItem];
+ return YES;
}