aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFieldMapperController.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-11-27 22:51:47 +0000
committerrowanbeentje <rowan@beent.je>2010-11-27 22:51:47 +0000
commit10117475bae9659b41d41c8d408bee3a3c0d6cf2 (patch)
tree82f49c6b362c128faf9c58d80bb24fe0bbbd46c6 /Source/SPFieldMapperController.m
parent9309908a0e5e425314f9e602ed79056134aa7750 (diff)
downloadsequelpro-10117475bae9659b41d41c8d408bee3a3c0d6cf2.tar.gz
sequelpro-10117475bae9659b41d41c8d408bee3a3c0d6cf2.tar.bz2
sequelpro-10117475bae9659b41d41c8d408bee3a3c0d6cf2.zip
- Fix issues right-clicking in the empty table area ( http://spbug.com/l/1726 )
- Improve 10.5 compatibility when clearing menus ( http://spbug.com/l/1508 , http://spbug.com/l/1829 , http://spbug.com/l/1818 ) - Fix a possible crash when updating database lists - Update localisable strings
Diffstat (limited to 'Source/SPFieldMapperController.m')
-rw-r--r--Source/SPFieldMapperController.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPFieldMapperController.m b/Source/SPFieldMapperController.m
index 0be1c4d4..e70a7c25 100644
--- a/Source/SPFieldMapperController.m
+++ b/Source/SPFieldMapperController.m
@@ -28,6 +28,7 @@
#import "SPTablesList.h"
#import "SPTextView.h"
#import "SPTableView.h"
+#import "SPCategoryAdditions.h"
#define SP_NUMBER_OF_RECORDS_STRING NSLocalizedString(@"%ld of %@%lu records", @"Label showing the index of the selected CSV row")
@@ -1883,7 +1884,7 @@ static const NSString *SPTableViewSqlColumnID = @"sql";
[prefs setObject:recents forKey:SPGlobalValueHistory];
// Re-init recent menu
- [recentGlobalValueMenu removeAllItems];
+ [recentGlobalValueMenu compatibleRemoveAllItems];
for(id item in recents)
[recentGlobalValueMenu addItemWithTitle:item action:@selector(insertRecentGlobalValue:) keyEquivalent:@""];