Fix up preset selection with two APCs
[SugarCubes.git] / _MIDI.pde
index 2abd30de260961aff679082b277dec2aeee86156..fc06538daf342eeac6871748586bcdddc19812ab 100644 (file)
--- a/_MIDI.pde
+++ b/_MIDI.pde
@@ -585,9 +585,9 @@ public class APC40MidiInput extends GenericDeviceMidiInput {
     case 52: // CLIP STOP
       if (nChan < PresetManager.NUM_PRESETS) {
         if (shiftOn) {
-          presetManager.store(nChan);
+          presetManager.store(getTargetDeck(), nChan);
         } else {
-          presetManager.select(nChan);
+          presetManager.select(getTargetDeck(), nChan);
         }
       }
       break;