1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-18 22:05:10 +03:00

Fixes #3518: GVar combobox not being refreshed when GV checkbox (re-)selected (ported from master)

This commit is contained in:
BenZoFly 2016-05-25 22:11:13 +02:00 committed by Damjan Adamic
parent 5f65217124
commit 0eda971365

View file

@ -277,6 +277,8 @@ void CurveGroup::gvarCBChanged(int state)
if (!lock) {
if (state) {
curve.value = 10000+1; // TODO constant in EEpromInterface ...
lastType = -1; // quickfix for issue #3518: force refresh of curveValueCB at next update() to set current index to GV1
}
else {
curve.value = 0; // TODO could be better