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 ShellScreen screen
|
||||||
property bool isWindow
|
property bool isWindow
|
||||||
property bool navExpanded
|
property bool navExpanded
|
||||||
property string currentPageName
|
|
||||||
property int currentPageIdx
|
property int currentPageIdx
|
||||||
|
|
||||||
signal close
|
signal close
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ import QtQuick
|
||||||
import Quickshell
|
import Quickshell
|
||||||
import qs.components
|
import qs.components
|
||||||
import qs.services
|
import qs.services
|
||||||
|
import qs.modules.nexus
|
||||||
|
|
||||||
Singleton {
|
Singleton {
|
||||||
id: root
|
id: root
|
||||||
|
|
@ -37,7 +38,7 @@ Singleton {
|
||||||
maximumSize.width: implicitWidth
|
maximumSize.width: implicitWidth
|
||||||
maximumSize.height: implicitHeight
|
maximumSize.height: implicitHeight
|
||||||
|
|
||||||
title: qsTr("Nexus — %1").arg(nexus.nState.currentPageName)
|
title: qsTr("Nexus — %1").arg(PageRegistry.pages[nexus.nState.currentPageIdx].label)
|
||||||
|
|
||||||
Nexus {
|
Nexus {
|
||||||
id: nexus
|
id: nexus
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue