summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/bar/components/TrayItem.qml2
-rw-r--r--modules/dashboard/Tabs.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/bar/components/TrayItem.qml b/modules/bar/components/TrayItem.qml
index 2c8fa63..3b95949 100644
--- a/modules/bar/components/TrayItem.qml
+++ b/modules/bar/components/TrayItem.qml
@@ -1,8 +1,6 @@
pragma ComponentBehavior: Bound
-import qs.widgets
import qs.config
-import Quickshell
import Quickshell.Widgets
import Quickshell.Services.SystemTray
import QtQuick
diff --git a/modules/dashboard/Tabs.qml b/modules/dashboard/Tabs.qml
index df716e0..d29ee42 100644
--- a/modules/dashboard/Tabs.qml
+++ b/modules/dashboard/Tabs.qml
@@ -27,6 +27,8 @@ Item {
currentIndex: root.state.currentTab
background: null
+ onCurrentIndexChanged: root.state.currentTab = currentIndex
+
Tab {
iconName: "dashboard"
text: qsTr("Dashboard")