call checkRestoreZoom properly for contextMenu

--latte plasmoid has its own build-in contextMenu. Call
properly the checkRestoreZoom for that contextMenu
pull/2/head
Michail Vourlakos 7 years ago
parent a75984f564
commit 316b6fb6df

@ -65,7 +65,7 @@ PlasmaComponents.ContextMenu {
launcherToggleAction.checked = (tasksModel.launcherPosition(get(atm.LauncherUrlWithoutIcon)) != -1); launcherToggleAction.checked = (tasksModel.launcherPosition(get(atm.LauncherUrlWithoutIcon)) != -1);
activitiesDesktopsMenu.refresh(); activitiesDesktopsMenu.refresh();
} else if (status == PlasmaComponents.DialogStatus.Closed) { } else if (status == PlasmaComponents.DialogStatus.Closed) {
checkListHovered.startDuration(100); root.startCheckRestoreZoomTimer(100);
menu.destroy(); menu.destroy();
backend.ungrabMouse(visualParent); backend.ungrabMouse(visualParent);
} }
@ -280,7 +280,7 @@ PlasmaComponents.ContextMenu {
root.signalActionsBlockHiding(-1); root.signalActionsBlockHiding(-1);
//root.signalDraggingState(false); //root.signalDraggingState(false);
root.disableRestoreZoom = false; root.disableRestoreZoom = false;
checkListHovered.startDuration(100); root.startCheckRestoreZoomTimer(100);
} }
} }

Loading…
Cancel
Save