summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-04 21:02:19 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-04 21:02:19 +1000
commit350148528bba5719c4cfbdf58d092d8205c3f16d (patch)
tree53545daa1b13065ab0281fb954e710d6992b1028
parentreadme: add faq (diff)
downloadcaelestia-shell-350148528bba5719c4cfbdf58d092d8205c3f16d.tar.gz
caelestia-shell-350148528bba5719c4cfbdf58d092d8205c3f16d.tar.bz2
caelestia-shell-350148528bba5719c4cfbdf58d092d8205c3f16d.zip
dashboard: fix tab desync
Fixes #324
-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")