summaryrefslogtreecommitdiff
path: root/modules/dashboard
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 /modules/dashboard
parentreadme: add faq (diff)
downloadcaelestia-shell-350148528bba5719c4cfbdf58d092d8205c3f16d.tar.gz
caelestia-shell-350148528bba5719c4cfbdf58d092d8205c3f16d.tar.bz2
caelestia-shell-350148528bba5719c4cfbdf58d092d8205c3f16d.zip
dashboard: fix tab desync
Fixes #324
Diffstat (limited to 'modules/dashboard')
-rw-r--r--modules/dashboard/Tabs.qml2
1 files changed, 2 insertions, 0 deletions
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")