fix: nexus window title

This commit is contained in:
2 * r + 2 * t 2026-06-03 01:38:03 +10:00
parent 5f4fb88624
commit a61fd9aa87
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,6 @@ QtObject {
property ShellScreen screen
property bool isWindow
property bool navExpanded
property string currentPageName
property int currentPageIdx
signal close

View file

@ -4,6 +4,7 @@ import QtQuick
import Quickshell
import qs.components
import qs.services
import qs.modules.nexus
Singleton {
id: root
@ -37,7 +38,7 @@ Singleton {
maximumSize.width: implicitWidth
maximumSize.height: implicitHeight
title: qsTr("Nexus — %1").arg(nexus.nState.currentPageName)
title: qsTr("Nexus — %1").arg(PageRegistry.pages[nexus.nState.currentPageIdx].label)
Nexus {
id: nexus