Implemented update for overridden options on sidebar

This commit is contained in:
YuSanka 2019-08-22 10:25:19 +02:00
parent 463783e092
commit ea4f76ea80
5 changed files with 225 additions and 96 deletions

View file

@ -628,11 +628,16 @@ void SpinCtrl::BUILD() {
void SpinCtrl::propagate_value()
{
if (suppress_propagating)
return;
suppress_propagating = true;
if (tmp_value == UNDEF_VALUE) {
on_kill_focus();
} else {
on_change_field();
}
suppress_propagating = false;
}
void SpinCtrl::msw_rescale()