Output view controller now has a delegate rather than a direct reference to the input...
[enjoyable.git] / Classes / NJOutputMapping.m
index cfcc34f..2ee6a84 100644 (file)
@@ -33,7 +33,7 @@
 - (void)trigger {
     EnjoyableApplicationDelegate *ctrl = (EnjoyableApplicationDelegate *)NSApplication.sharedApplication.delegate;
     if (_mapping) {
-        [ctrl.inputController activateMapping:_mapping];
+        [ctrl.ic activateMapping:_mapping];
         self.mappingName = _mapping.name;
     } else {
         // TODO: Show an error message? Unobtrusively since something