summaryrefslogtreecommitdiff
path: root/modules/controlcenter/WindowFactory.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-07 16:59:13 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-07 16:59:13 +1000
commita9f7d1efc154ee039c47cf37cb48342b08848014 (patch)
tree44c4034461d2803d7fdef6dc352b4479de53a0ed /modules/controlcenter/WindowFactory.qml
parentcontrolcenter: fix navrail colours (diff)
downloadcaelestia-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.qml4
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();
}
}