From 721d9258f06dd4c006f1d6db0d37dd4e441c1c66 Mon Sep 17 00:00:00 2001 From: Andrew Knous Date: Wed, 14 Jun 2023 10:41:16 -0400 Subject: [PATCH] fix: fixes issue with camera preset name saving to the wrong preset --- QscQsysDspPlugin/QscDspCameraBridge.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QscQsysDspPlugin/QscDspCameraBridge.cs b/QscQsysDspPlugin/QscDspCameraBridge.cs index e645708..8ef0f5b 100644 --- a/QscQsysDspPlugin/QscDspCameraBridge.cs +++ b/QscQsysDspPlugin/QscDspCameraBridge.cs @@ -46,7 +46,7 @@ public static void LinkToApiExt(this QscDspCamera camera, BasicTriList trilist, // from SiMPL > to Plugin trilist.SetSigTrueAction(joinMap.PresetRecallStart.JoinNumber + temp + 1, () => camera.RecallPreset(temp)); trilist.SetSigTrueAction(joinMap.PresetStoreStart.JoinNumber + temp + 1, () => camera.SavePreset(temp)); - trilist.SetStringSigAction(joinMap.PresetNamesStart.JoinNumber + temp, (s) => camera.WritePresetName(s, (ushort)(temp + 1))); + trilist.SetStringSigAction(joinMap.PresetNamesStart.JoinNumber + temp + 1, (s) => camera.WritePresetName(s, (ushort)(temp + 1))); // from Plugin > to SiMPL preset.Value.LabelFeedback.LinkInputSig(trilist.StringInput[joinMap.PresetNamesStart.JoinNumber + temp + 1]); trilist.SetString(joinMap.PresetNamesStart.JoinNumber + temp + 1, preset.Value.Label);