1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-08 13:32:05 -04:00

Compare commits

..

2 Commits

Author SHA1 Message Date
bbedward
6f4940bc66 process list: fix unloading
fixes #2284
2026-05-08 09:09:04 -04:00
bbedward
63c3523ae1 V bump 2026-05-08 09:09:00 -04:00
3 changed files with 17 additions and 1 deletions

View File

@@ -808,10 +808,19 @@ Item {
ProcessListModal {
id: processListModal
property bool wasShown: false
Component.onCompleted: {
PopoutService.processListModal = processListModal;
}
onVisibleChanged: {
if (visible) {
wasShown = true;
} else if (wasShown) {
PopoutService.unloadProcessListModal();
}
}
}
}

View File

@@ -629,6 +629,13 @@ Singleton {
processListModal?.hide();
}
function unloadProcessListModal() {
if (processListModalLoader) {
processListModal = null;
processListModalLoader.active = false;
}
}
function toggleProcessListModal() {
if (processListModal) {
processListModal.toggle();

View File

@@ -1 +1 @@
v1.4.6
v1.4.7