From 1401af37f79a3fb791266269fefda0be402feccd Mon Sep 17 00:00:00 2001 From: RDOFFERHOFF Date: Wed, 21 Feb 2024 09:18:07 +0100 Subject: [PATCH] fix a few qml mistakes --- inst/qml/BayesianNetworkAnalysis.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inst/qml/BayesianNetworkAnalysis.qml b/inst/qml/BayesianNetworkAnalysis.qml index 9f2cb9e..6d69731 100644 --- a/inst/qml/BayesianNetworkAnalysis.qml +++ b/inst/qml/BayesianNetworkAnalysis.qml @@ -62,7 +62,7 @@ Form CheckBox { name: "edgeAbsence"; label: qsTr("Absence of evidence"); checked: true } } CheckBox { - name: "centralityPlot"; label: qsTr("Centrality plot") + name: "centralityPlot"; id: centralityPlot; label: qsTr("Centrality plot") CheckBox { name: "credibilityInterval"; label: qsTr("Credibility interval 95%"); @@ -174,7 +174,7 @@ Form CheckBox { name: "manualColor"; label: qsTr("Manual colors"); id: manualColor } DropDown { - enabled: !manualColors.checked + enabled: !manualColor.checked id: paletteSelector name: "nodePalette" label: qsTr("Node palette") @@ -284,7 +284,7 @@ Form Group { title: qsTr("Measures shown in centrality plot") - enabled: plotCentrality.checked + enabled: centralityPlot.checked CheckBox { name: "betweenness"; label: qsTr("Betweenness"); checked: true } CheckBox { name: "closeness"; label: qsTr("Closeness"); checked: true } CheckBox { name: "strength"; label: qsTr("Strength"); checked: true }