Update PluginEditor.cpp
This commit is contained in:
parent
74818df504
commit
fee0dbb2da
1 changed files with 4 additions and 1 deletions
|
@ -436,7 +436,7 @@ void ObxdAudioProcessorEditor::buttonClicked (Button* b)
|
|||
if (midiUnlearnButton->toogled){
|
||||
processor.getMidiMap().reset();
|
||||
processor.getMidiMap().set_default();
|
||||
midiUnlearnButton->setValue(0.0, false);
|
||||
processor.sendChangeMessage();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -461,6 +461,9 @@ void ObxdAudioProcessorEditor::changeListenerCallback (ChangeBroadcaster* source
|
|||
buttonListAttachments[i]->updateToSlider();
|
||||
}
|
||||
|
||||
// Set to unlearn to false
|
||||
midiUnlearnButton->setValue(0.0, false);
|
||||
|
||||
repaint();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue