From a90d954dfc13086180486556ade4d140c670ba28 Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Mon, 30 Apr 2018 15:34:48 -0700 Subject: [PATCH] New value is not being set correctly --- src/FactSystem/FactControls/FactCheckBox.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FactSystem/FactControls/FactCheckBox.qml b/src/FactSystem/FactControls/FactCheckBox.qml index 3aad83b67..4a591e92b 100644 --- a/src/FactSystem/FactControls/FactCheckBox.qml +++ b/src/FactSystem/FactControls/FactCheckBox.qml @@ -18,5 +18,5 @@ QGCCheckBox { text: qsTr("Label") - onClicked: fact.value == checked ? checkedValue : uncheckedValue + onClicked: fact.value = (checked ? checkedValue : uncheckedValue) } -- 2.22.0