mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03: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"
|
filterRole: "SkipTaskbar"
|
||||||
filterRegExp: "false"
|
filterRegExp: "false"
|
||||||
sourceModel: plasmoid.nativeInterface.windowModel
|
sourceModel: plasmoid.nativeInterface.windowModel
|
||||||
|
onCountChanged: {
|
||||||
|
if (count == 0) {
|
||||||
|
window.hide();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
model: filteredWindowModel
|
model: filteredWindowModel
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue