blob: 8f938b00b89b712db042b96da4956b0cf791ebaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From 3167717797d07a8645391e093fa91526c4645f4f Mon Sep 17 00:00:00 2001
From: Noah Davis <noahadvs@gmail.com>
Date: Wed, 23 Sep 2020 20:23:08 -0400
Subject: [PATCH] Fix PC3 Button/ToolButton icons not always having the right
color set
BUG: 426556
FIXED-IN: 5.75
---
.../plasmacomponents3/private/ButtonContent.qml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/declarativeimports/plasmacomponents3/private/ButtonContent.qml b/src/declarativeimports/plasmacomponents3/private/ButtonContent.qml
index 6dc2ce085..91428bdb3 100644
--- a/src/declarativeimports/plasmacomponents3/private/ButtonContent.qml
+++ b/src/declarativeimports/plasmacomponents3/private/ButtonContent.qml
@@ -42,7 +42,7 @@ GridLayout {
implicitWidth: root.parent.icon.width > 0 ? root.parent.icon.width : defaultIconSize
implicitHeight: root.parent.icon.height > 0 ? root.parent.icon.height : defaultIconSize
-
+ colorGroup: parent.PlasmaCore.ColorScope.colorGroup
visible: source.length > 0 && root.parent.display !== T.Button.TextOnly
source: root.parent.icon ? (root.parent.icon.name || root.parent.icon.source) : ""
status: usingFocusBackground ? PlasmaCore.Svg.Selected : PlasmaCore.Svg.Normal
--
GitLab
|