Invalidate the controls after changes
This commit is contained in:
parent
660dcb01d1
commit
787f388a26
1 changed files with 2 additions and 0 deletions
|
|
@ -606,6 +606,7 @@ void SControlsPanel::setControlValue(uint32_t index, float value)
|
|||
return;
|
||||
|
||||
slot->knob->setValue(value);
|
||||
slot->knob->invalid();
|
||||
}
|
||||
|
||||
void SControlsPanel::setControlDefaultValue(uint32_t index, float value)
|
||||
|
|
@ -633,6 +634,7 @@ void SControlsPanel::setControlLabelText(uint32_t index, UTF8StringPtr text)
|
|||
slot->label->setText(text);
|
||||
else
|
||||
slot->label->setText(getDefaultLabelText(index).c_str());
|
||||
slot->label->invalid();
|
||||
}
|
||||
|
||||
void SControlsPanel::recalculateSubViews()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue