mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
close task list when there are no windows left
This commit is contained in:
parent
0a5fd82410
commit
6b3f32ed3c
1 changed files with 5 additions and 0 deletions
|
|
@ -138,6 +138,11 @@ FullScreenPanel {
|
|||
filterRole: "SkipTaskbar"
|
||||
filterRegExp: "false"
|
||||
sourceModel: plasmoid.nativeInterface.windowModel
|
||||
onCountChanged: {
|
||||
if (count == 0) {
|
||||
window.hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
model: filteredWindowModel
|
||||
|
|
|
|||
Loading…
Reference in a new issue