From 65eed8437afd9b8c4c8d4e704835a30cd1146fe3 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 26 Jul 2025 17:27:50 +1000 Subject: dcontent: add panes --- modules/detachedcontent/Session.qml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/detachedcontent/Session.qml') diff --git a/modules/detachedcontent/Session.qml b/modules/detachedcontent/Session.qml index a3f2de5..f86528c 100644 --- a/modules/detachedcontent/Session.qml +++ b/modules/detachedcontent/Session.qml @@ -1,5 +1,11 @@ import QtQuick QtObject { + readonly property list panes: ["network", "bluetooth"] + property string active + property int activeIndex + + onActiveChanged: activeIndex = panes.indexOf(active) + onActiveIndexChanged: active = panes[activeIndex] } -- cgit v1.2.3-freya