GUI fix
Loaded preset didn't refresh knob status.
This commit is contained in:
parent
29579de1c3
commit
5155f0a921
2 changed files with 2 additions and 1 deletions
|
@ -59,7 +59,7 @@ public:
|
|||
*/
|
||||
void updateToSlider(){
|
||||
float val = parameter->getValue();
|
||||
buttonListToControl->setValue(val, NotificationType::dontSendNotification);
|
||||
//buttonListToControl->setValue(val, NotificationType::dontSendNotification);
|
||||
//buttonListToControl->setValue(parameter->convertFrom0to1(val0to1), NotificationType::dontSendNotification);
|
||||
buttonListToControl->setValue(val, NotificationType::dontSendNotification);
|
||||
}
|
||||
|
|
|
@ -64,6 +64,7 @@ public:
|
|||
void updateToSlider(){
|
||||
float val = parameter->getValue();
|
||||
//buttonToControl->setValue(parameter->convertFrom0to1(val0to1), NotificationType::dontSendNotification);
|
||||
buttonToControl->setValue(val, NotificationType::dontSendNotification);
|
||||
}
|
||||
virtual ~ToggleAttachment() = default;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue