diff --git a/src/declarativeimports/plasmacomponents3/ToolButton.qml b/src/declarativeimports/plasmacomponents3/ToolButton.qml index 67ee0ba6d..4ee936d53 100644 --- a/src/declarativeimports/plasmacomponents3/ToolButton.qml +++ b/src/declarativeimports/plasmacomponents3/ToolButton.qml @@ -119,8 +119,10 @@ T.ToolButton { return "hover" } else if (keyboardFocus) { return "focus" + } else if (control.flat) { + return "hidden" } else { - return control.flat ? "hidden" : "shadow" + return "shadow" } } }