Generalize and share mapping menu (main, status, dock) behavior.
[enjoyable.git] / Classes / NJMappingsController.m
index ad88d73..ad257cf 100644 (file)
@@ -52,7 +52,8 @@
     [NSNotificationCenter.defaultCenter
         postNotificationName:NJEventMappingListChanged
                       object:self
-                    userInfo:@{ @"mappings": _mappings }];
+                    userInfo:@{ @"mappings": _mappings,
+                                @"mapping": _currentMapping }];
 }
 
 - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state