mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-22 14:50:31 +03:00
hide preview when closing last preview from btn
BUG: 391898
This commit is contained in:
parent
6d3e2a4138
commit
3fe9d2bc4e
@ -153,6 +153,11 @@ SequentialAnimation {
|
||||
if(mainItemContainer.launcherUrl===root.launcherForRemoval && mainItemContainer.isLauncher)
|
||||
root.launcherForRemoval="";
|
||||
|
||||
if (windowsPreviewDlg.visible && windowsPreviewDlg.mainItem.parentTask === mainItemContainer
|
||||
&& isWindow && !isGroupParent){
|
||||
hidePreview();
|
||||
}
|
||||
|
||||
//send signal that the launcher is really removing
|
||||
if (mainItemContainer.inBouncingAnimation) {
|
||||
mainItemContainer.visible = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user