From 16ed1f107fbb00006c77d94ee4c6d1ffe0f63d6e Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Wed, 18 Jun 2025 17:49:28 +0200 Subject: [PATCH] navigationrailbutton: make tabbar-compatible --- .../modules/common/widgets/NavigationRailButton.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/quickshell/modules/common/widgets/NavigationRailButton.qml b/.config/quickshell/modules/common/widgets/NavigationRailButton.qml index ac5a446a5..500744949 100644 --- a/.config/quickshell/modules/common/widgets/NavigationRailButton.qml +++ b/.config/quickshell/modules/common/widgets/NavigationRailButton.qml @@ -6,10 +6,10 @@ import QtQuick.Controls import QtQuick.Layouts import Quickshell.Io -Button { +TabButton { id: root - property bool toggled + property bool toggled: TabBar.tabBar.currentIndex === TabBar.index property string buttonIcon property string buttonText property bool expanded: false