From 64ae9353fc28a4283af1728ffa7daa9de3a2585a Mon Sep 17 00:00:00 2001 From: Luis Bocanegra Date: Wed, 8 Jan 2025 04:17:23 -0600 Subject: [PATCH] fix: don't change the default text/icon color if disabled otherwise we break binding of dynamic colored elements --- package/contents/ui/main.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/package/contents/ui/main.qml b/package/contents/ui/main.qml index 31141c5..597381b 100644 --- a/package/contents/ui/main.qml +++ b/package/contents/ui/main.qml @@ -481,6 +481,7 @@ PlasmoidItem { interval: 10 onTriggered: { if (isPanel) return + if (fgEnabled === undefined || !fgEnabled) return if (widgetName === "org.kde.plasma.systemtray" && separateTray) return const result = applyFgColor(target, fgColor, fgColorCfg, 0, wRecolorCfg) if (result) {