From 6b61164808a5e5db6ce4c6003134c2054d863b87 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 19 Mar 2026 20:46:55 +1100 Subject: [PATCH] fix: dash wrong current item Closes #1291 --- modules/dashboard/Content.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/dashboard/Content.qml b/modules/dashboard/Content.qml index bbb42724..d0386b70 100644 --- a/modules/dashboard/Content.qml +++ b/modules/dashboard/Content.qml @@ -81,7 +81,10 @@ Item { id: view readonly property int currentIndex: root.state.currentTab - readonly property Item currentItem: row.children[currentIndex] + readonly property Item currentItem: { + repeater.count; // Trigger update on count change + return repeater.itemAt(currentIndex); + } anchors.fill: parent @@ -119,6 +122,8 @@ Item { id: row Repeater { + id: repeater + model: ScriptModel { values: root.dashboardTabs }