From a3cd79116633708bcb4f20311e30e25e1f4621bb Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 13 Jan 2024 18:50:26 +0100 Subject: [PATCH] Amend bfb22e2acc9, fix generic MIDI signal connection --- libs/surfaces/generic_midi/midicontrollable.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/surfaces/generic_midi/midicontrollable.cc b/libs/surfaces/generic_midi/midicontrollable.cc index 10005b535b..136a3cd64a 100644 --- a/libs/surfaces/generic_midi/midicontrollable.cc +++ b/libs/surfaces/generic_midi/midicontrollable.cc @@ -161,7 +161,7 @@ MIDIControllable::bind_remap (std::shared_ptr s) if (!s) { return; } - s->MappedControlsChanged.connect (controllable_remapped_connection, MISSING_INVALIDATOR, boost::bind (&GenericMidiControlProtocol::lookup_controllable, this), this); + s->MappedControlsChanged.connect (controllable_remapped_connection, MISSING_INVALIDATOR, boost::bind (&MIDIControllable::lookup_controllable, this), _surface); } void