aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2014-12-14 21:26:09 +0100
committerMax <post@wickenrode.com>2014-12-14 21:26:09 +0100
commitef5193bc6b897f1040f252789d7c4b635abcb11b (patch)
tree51a7f655f7ce5dcd11edd2ad5f8443e96e212371 /Source
parent915b4fb171afec486a386b7098f6ccfe59058f4f (diff)
downloadsequelpro-ef5193bc6b897f1040f252789d7c4b635abcb11b.tar.gz
sequelpro-ef5193bc6b897f1040f252789d7c4b635abcb11b.tar.bz2
sequelpro-ef5193bc6b897f1040f252789d7c4b635abcb11b.zip
Fix an exception when opening Bundle Editor
Caused by an earlier commit of mine.
Diffstat (limited to 'Source')
-rw-r--r--Source/SPBundleEditorController.m7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/SPBundleEditorController.m b/Source/SPBundleEditorController.m
index cb4ccf88..197ceee6 100644
--- a/Source/SPBundleEditorController.m
+++ b/Source/SPBundleEditorController.m
@@ -155,8 +155,7 @@ static NSString *SPSaveBundleAction = @"SPSaveBundle";
[allPopupScopeItems addObjectsFromArray:triggerGeneralArray];
[allPopupScopeItems addObjectsFromArray:withBlobDataTableArray];
- NSDictionary *menuItemTitles = @{
- allPopupScopeItems : @[
+ NSDictionary *menuItemTitles = [NSDictionary dictionaryWithObjects:@[
NSLocalizedString(@"None", @"Bundle Editor : Scope=General : Input source dropdown: 'None' item"),
NSLocalizedString(@"None", @"Bundle Editor : Scope=Field : Input source dropdown: 'None' item"),
@@ -212,8 +211,7 @@ static NSString *SPSaveBundleAction = @"SPSaveBundle";
NSLocalizedString(@"save BLOB as image file", @"Bundle Editor : BLOB dropdown : 'save BLOB as image file' item"),
NSLocalizedString(@"save BLOB as dat file", @"Bundle Editor : BLOB dropdown : 'save BLOB as dat file' item"),
- ]
- };
+ ] forKeys:allPopupScopeItems];
NSMenuItem *anItem;
for(NSString* title in inputGeneralScopeArray) {
@@ -2112,6 +2110,7 @@ static NSString *SPSaveBundleAction = @"SPSaveBundle";
[triggerInputFieldPopUpMenu release];
[triggerDataTablePopUpMenu release];
[triggerGeneralPopUpMenu release];
+ [withBlobDataTablePopUpMenu release];
[inputNonePopUpMenu release];
[inputGeneralScopeArray release];