1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-09 14:02:10 -04:00

process list: fix unloading

fixes #2284
This commit is contained in:
bbedward
2026-05-03 09:52:50 -04:00
parent 63c3523ae1
commit 6f4940bc66
2 changed files with 16 additions and 0 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();
}
}
}
}