fix: nexus window title
This commit is contained in:
parent
5f4fb88624
commit
a61fd9aa87
2 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,6 @@ QtObject {
|
|||
property ShellScreen screen
|
||||
property bool isWindow
|
||||
property bool navExpanded
|
||||
property string currentPageName
|
||||
property int currentPageIdx
|
||||
|
||||
signal close
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue