From 949a26d3fa0cfa4993a519486dd07bd0f9901a38 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Thu, 3 Oct 2019 15:52:21 -0600 Subject: [PATCH] [PlasmaComponents3] Fix checkable toolbutton background Summary: This fixed the background of a checkable PC3 ToolButton not being visible when checked. The PC3 Button and PC2 ToolButton did not suffer from the issue, but the PC3 one did. Test Plan: Checkable PC3 ToolButtons now look checked when checked No change for non-checkable PC3 ToolButtons Reviewers: #plasma, mart Reviewed By: #plasma, mart Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D24402 --- src/declarativeimports/plasmacomponents3/ToolButton.qml | 1 - 1 file changed, 1 deletion(-) diff --git a/src/declarativeimports/plasmacomponents3/ToolButton.qml b/src/declarativeimports/plasmacomponents3/ToolButton.qml index fe49f64b2..84d158f0d 100644 --- a/src/declarativeimports/plasmacomponents3/ToolButton.qml +++ b/src/declarativeimports/plasmacomponents3/ToolButton.qml @@ -70,7 +70,6 @@ T.ToolButton { } background: Item { - visible: (!control.flat || control.hovered) && (!control.pressed || !control.checked) //retrocompatibility with old controls implicitWidth: units.gridUnit * 1.6 implicitHeight: units.gridUnit * 1.6