mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
Fixes #3518: GVar combobox not being refreshed when GV checkbox (re-)selected (ported from master)
This commit is contained in:
parent
5f65217124
commit
0eda971365
1 changed files with 2 additions and 0 deletions
|
@ -277,6 +277,8 @@ void CurveGroup::gvarCBChanged(int state)
|
||||||
if (!lock) {
|
if (!lock) {
|
||||||
if (state) {
|
if (state) {
|
||||||
curve.value = 10000+1; // TODO constant in EEpromInterface ...
|
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 {
|
else {
|
||||||
curve.value = 0; // TODO could be better
|
curve.value = 0; // TODO could be better
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue