Missed userInfo keys.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Mon, 11 Mar 2013 11:28:48 +0000 (12:28 +0100)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Mon, 11 Mar 2013 11:28:48 +0000 (12:28 +0100)
Classes/NJMappingsController.m
Classes/NJOutputController.m
Info.plist

index d7310c09f84f616bd245bb60666ff1dc832612c2..0db11111ca0ae8995ba4ce2a008f175b948983c9 100644 (file)
     [self updateInterfaceForCurrentMapping];
     [NSNotificationCenter.defaultCenter
          postNotificationName:NJEventMappingChanged
-         object:self
-         userInfo:@{ @"mapping": _currentMapping }];
+                       object:self
+                     userInfo:@{ NJMappingKey : _currentMapping }];
 }
 
 - (IBAction)addPressed:(id)sender {
index cf758e6e399ab2acaa4fabea8f1613eeb2732304..0bb335f003cc38e12a7897121e44207811fe4f25 100644 (file)
 }
 
 - (void)mappingListDidChange:(NSNotification *)note {
-    NSArray *mappings = note.userInfo[@"mappings"];
+    NSArray *mappings = note.userInfo[NJMappingListKey];
     NJMapping *current = mappingPopup.selectedItem.representedObject;
     [mappingPopup.menu removeAllItems];
     for (NJMapping *mapping in mappings) {
index 42233338c6d1fbcd6f7f5161e66a1db0f5bc6d65..6665b11ebfaf38f633706cb4e164aba0d4f4da6c 100644 (file)
@@ -46,7 +46,7 @@
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>129</string>
+       <string>131</string>
        <key>LSApplicationCategoryType</key>
        <string>public.app-category.utilities</string>
        <key>NSHumanReadableCopyright</key>