mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
quicksettings: Fix enabled text always displaying "On"
This commit is contained in:
parent
76a92aee1b
commit
3e22b962f2
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ QuickSettingsDelegate {
|
||||||
|
|
||||||
Components.MarqueeLabel {
|
Components.MarqueeLabel {
|
||||||
// if no status is given, just use On/Off
|
// 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
|
opacity: 0.6
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue