From 3f9878afc119856612924bf70f8e4c4b90aff459 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 12 May 2020 17:07:50 +0200 Subject: [PATCH] [welcomeq] Use the model properties to show recommendations and requirements --- src/modules/welcomeq/welcomeq.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/welcomeq/welcomeq.qml b/src/modules/welcomeq/welcomeq.qml index 910274fe2..2a29c5d9a 100644 --- a/src/modules/welcomeq/welcomeq.qml +++ b/src/modules/welcomeq/welcomeq.qml @@ -60,14 +60,14 @@ Page property var required: "yes" //requirementsModel property var satisfied: "yes" //satisfiedRequirements property var requiredMet: (required != satisfied) ? true : false - visible: requiredMet + visible: !config.requirementsModel.satisfiedRequirements } Requirements { property var required: "yes" //requirementsModel property var mandatory: "yes" //satisfiedMandatory property var mandatoryMet: (required != mandatory) ? true : false - visible: mandatoryMet + visible: !config.requirementsModel.satisfiedMandatory } RowLayout {