2
0
Fork 0

Update PluginEditor.cpp

This commit is contained in:
George Reales 2020-07-16 20:10:39 +02:00
parent 74818df504
commit fee0dbb2da

View file

@ -436,7 +436,7 @@ void ObxdAudioProcessorEditor::buttonClicked (Button* b)
if (midiUnlearnButton->toogled){ if (midiUnlearnButton->toogled){
processor.getMidiMap().reset(); processor.getMidiMap().reset();
processor.getMidiMap().set_default(); processor.getMidiMap().set_default();
midiUnlearnButton->setValue(0.0, false); processor.sendChangeMessage();
} }
} }
@ -461,6 +461,9 @@ void ObxdAudioProcessorEditor::changeListenerCallback (ChangeBroadcaster* source
buttonListAttachments[i]->updateToSlider(); buttonListAttachments[i]->updateToSlider();
} }
// Set to unlearn to false
midiUnlearnButton->setValue(0.0, false);
repaint(); repaint();
} }