Fix PC3 Button/ToolButton icons not always having the right color set

BUG: 426556
FIXED-IN: 5.75
This commit is contained in:
Noah Davis 2020-09-23 20:23:08 -04:00
parent 16f852ea4c
commit 3167717797

View File

@ -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