mirror of
https://github.com/opentx/opentx.git
synced 2025-07-17 13:25:20 +03:00
In MixerDialog GVar checkbox for Curves was visible even when GVARS
disabled
This commit is contained in:
parent
8a80463476
commit
82c21b8c56
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ void CurveGroup::update()
|
||||||
curveTypeCB->setCurrentIndex(found);
|
curveTypeCB->setCurrentIndex(found);
|
||||||
|
|
||||||
if (curve.type == CurveReference::CURVE_REF_DIFF || curve.type == CurveReference::CURVE_REF_EXPO) {
|
if (curve.type == CurveReference::CURVE_REF_DIFF || curve.type == CurveReference::CURVE_REF_EXPO) {
|
||||||
curveGVarCB->show();
|
curveGVarCB->setVisible(GetCurrentFirmware()->getCapability(Gvars));
|
||||||
if (curve.value > 100 || curve.value < -100) {
|
if (curve.value > 100 || curve.value < -100) {
|
||||||
curveGVarCB->setChecked(true);
|
curveGVarCB->setChecked(true);
|
||||||
if (lastType != CurveReference::CURVE_REF_DIFF && lastType != CurveReference::CURVE_REF_EXPO) {
|
if (lastType != CurveReference::CURVE_REF_DIFF && lastType != CurveReference::CURVE_REF_EXPO) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue