From 112698a1ef92075571d20ecb05b809f3da4da949 Mon Sep 17 00:00:00 2001 From: Gliderman Date: Mon, 7 Sep 2015 15:48:35 -0400 Subject: [PATCH] Fixed trigger for config change Target.h declares that the trigger method must have a parameter. The trigger method in TargetConfig.m does not. Added parameter (even though it doesn't use it, similar to other Target*.m). Config can now be changed as a trigger. --- TargetConfig.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TargetConfig.m b/TargetConfig.m index 73d4563..26746d5 100644 --- a/TargetConfig.m +++ b/TargetConfig.m @@ -29,7 +29,7 @@ +(TargetConfig*) unstringifyImpl: (NSArray*) comps withConfigList: (NSArray*) co return NULL; } --(void) trigger { +-(void) trigger (JoystickController *)jc { [[[[NSApplication sharedApplication] delegate] configsController] activateConfig:config forApplication: NULL]; }