From ef5193bc6b897f1040f252789d7c4b635abcb11b Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 14 Dec 2014 21:26:09 +0100 Subject: Fix an exception when opening Bundle Editor Caused by an earlier commit of mine. --- Source/SPBundleEditorController.m | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Source/SPBundleEditorController.m') 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]; -- cgit v1.2.3