hide preview when closing last preview from btn

BUG: 391898
pull/2/head
Michail Vourlakos 7 years ago
parent 6d3e2a4138
commit 3fe9d2bc4e

@ -153,6 +153,11 @@ SequentialAnimation {
if(mainItemContainer.launcherUrl===root.launcherForRemoval && mainItemContainer.isLauncher) if(mainItemContainer.launcherUrl===root.launcherForRemoval && mainItemContainer.isLauncher)
root.launcherForRemoval=""; root.launcherForRemoval="";
if (windowsPreviewDlg.visible && windowsPreviewDlg.mainItem.parentTask === mainItemContainer
&& isWindow && !isGroupParent){
hidePreview();
}
//send signal that the launcher is really removing //send signal that the launcher is really removing
if (mainItemContainer.inBouncingAnimation) { if (mainItemContainer.inBouncingAnimation) {
mainItemContainer.visible = false; mainItemContainer.visible = false;

Loading…
Cancel
Save