Mappings list doesn't need to be public anymore.
[enjoyable.git] / Classes / NJMappingsController.m
index 772b14ab6baab7b27ea2989f978bdd7a0ec8d88d..4a9c3fffaba6ccc82c42fde5cf827bbd10a65b00 100644 (file)
                                      didEndSelector:@selector(mappingConflictDidResolve:returnCode:contextInfo:)
                                         contextInfo:(void *)CFBridgingRetain(@{ @"old mapping": mergeInto,
                                                                                 @"new mapping": mapping })];
+        } else if (mergeInto) {
+            [mergeInto mergeEntriesFrom:mapping];
+            [self activateMapping:mergeInto];
+            [self mappingsChanged];
         } else {
             [_mappings addObject:mapping];
             [self activateMapping:mapping];