fix(color): Update of 'end' value for trainer channel (#3239)
Fix update of 'end' value in ChannelRange class.
This commit is contained in:
@@ -68,7 +68,8 @@ void ChannelRange::updateEnd()
|
|||||||
chEnd->setMax(max_ch);
|
chEnd->setMax(max_ch);
|
||||||
chEnd->setDefault(max_ch);
|
chEnd->setDefault(max_ch);
|
||||||
|
|
||||||
chEnd->update();
|
// Force value to fit between new min and max
|
||||||
|
chEnd->setValue(chEnd->getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
void ChannelRange::updateStart()
|
void ChannelRange::updateStart()
|
||||||
|
|||||||
Reference in New Issue
Block a user