1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-03 19:12:11 -04:00

process list: fix unloading

fixes #2284
This commit is contained in:
bbedward
2026-05-03 09:52:50 -04:00
parent c1cbd0994f
commit d2f6cb3ae4
2 changed files with 16 additions and 0 deletions

View File

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