From 82c21b8c56ac931ca7d11a43bc07edccff63f421 Mon Sep 17 00:00:00 2001 From: bsongis Date: Sat, 8 Nov 2014 11:22:46 +0100 Subject: [PATCH] In MixerDialog GVar checkbox for Curves was visible even when GVARS disabled --- companion/src/helpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/src/helpers.cpp b/companion/src/helpers.cpp index f55237aff..cef825f3d 100644 --- a/companion/src/helpers.cpp +++ b/companion/src/helpers.cpp @@ -233,7 +233,7 @@ void CurveGroup::update() curveTypeCB->setCurrentIndex(found); 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) { curveGVarCB->setChecked(true); if (lastType != CurveReference::CURVE_REF_DIFF && lastType != CurveReference::CURVE_REF_EXPO) {