From 3e22b962f25cc15930df235ea8379df2c24853c1 Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Fri, 20 May 2022 09:59:58 -0400 Subject: [PATCH] quicksettings: Fix enabled text always displaying "On" --- .../actiondrawer/quicksettings/QuickSettingsFullDelegate.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mobileshell/qml/actiondrawer/quicksettings/QuickSettingsFullDelegate.qml b/components/mobileshell/qml/actiondrawer/quicksettings/QuickSettingsFullDelegate.qml index fd0d50b1..7004dc65 100644 --- a/components/mobileshell/qml/actiondrawer/quicksettings/QuickSettingsFullDelegate.qml +++ b/components/mobileshell/qml/actiondrawer/quicksettings/QuickSettingsFullDelegate.qml @@ -78,7 +78,7 @@ QuickSettingsDelegate { Components.MarqueeLabel { // if no status is given, just use On/Off - inputText: status ? status : (enabled ? i18n("On") : i18n("Off")) + inputText: root.status ? root.status : (root.enabled ? i18n("On") : i18n("Off")) opacity: 0.6 Layout.fillWidth: true