From c0639d8b8ecfe31a9c6b394443d878cd4decb3d0 Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Mon, 13 Jun 2022 17:53:30 +0300 Subject: [PATCH] fix(StatusTabButton): Hide bottom dash in disabled state (#729) --- src/StatusQ/Controls/StatusTabButton.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StatusQ/Controls/StatusTabButton.qml b/src/StatusQ/Controls/StatusTabButton.qml index 56360733..6bdc1848 100644 --- a/src/StatusQ/Controls/StatusTabButton.qml +++ b/src/StatusQ/Controls/StatusTabButton.qml @@ -66,7 +66,7 @@ TabButton { Rectangle { anchors.bottom: parent.bottom anchors.horizontalCenter: parent.horizontalCenter - visible: root.checked || root.hovered + visible: root.enabled && (root.checked || root.hovered) implicitWidth: 24 implicitHeight: 2 radius: 4