diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-07 16:59:13 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-07 16:59:13 +1000 |
| commit | a9f7d1efc154ee039c47cf37cb48342b08848014 (patch) | |
| tree | 44c4034461d2803d7fdef6dc352b4479de53a0ed /modules/controlcenter/WindowFactory.qml | |
| parent | controlcenter: fix navrail colours (diff) | |
| download | caelestia-shell-a9f7d1efc154ee039c47cf37cb48342b08848014.tar.gz caelestia-shell-a9f7d1efc154ee039c47cf37cb48342b08848014.tar.bz2 caelestia-shell-a9f7d1efc154ee039c47cf37cb48342b08848014.zip | |
controlcenter: add header when floating
Diffstat (limited to 'modules/controlcenter/WindowFactory.qml')
| -rw-r--r-- | modules/controlcenter/WindowFactory.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/controlcenter/WindowFactory.qml b/modules/controlcenter/WindowFactory.qml index 75550c3..f5c6b73 100644 --- a/modules/controlcenter/WindowFactory.qml +++ b/modules/controlcenter/WindowFactory.qml @@ -38,6 +38,8 @@ Singleton { implicitWidth: cc.implicitWidth implicitHeight: cc.implicitHeight + title: qsTr("Caelestia Settings - %1").arg(cc.active.slice(0, 1).toUpperCase() + cc.active.slice(1)) + ControlCenter { id: cc @@ -46,7 +48,7 @@ Singleton { floating: true function close(): void { - win.visible = false; + win.destroy(); } } |