From 316b6fb6df79b6a90b8287675a0718761a0b795a Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Fri, 23 Feb 2018 20:35:43 +0200 Subject: [PATCH] call checkRestoreZoom properly for contextMenu --latte plasmoid has its own build-in contextMenu. Call properly the checkRestoreZoom for that contextMenu --- plasmoid/package/contents/ui/ContextMenu.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plasmoid/package/contents/ui/ContextMenu.qml b/plasmoid/package/contents/ui/ContextMenu.qml index bf7f3b112..03073b657 100644 --- a/plasmoid/package/contents/ui/ContextMenu.qml +++ b/plasmoid/package/contents/ui/ContextMenu.qml @@ -65,7 +65,7 @@ PlasmaComponents.ContextMenu { launcherToggleAction.checked = (tasksModel.launcherPosition(get(atm.LauncherUrlWithoutIcon)) != -1); activitiesDesktopsMenu.refresh(); } else if (status == PlasmaComponents.DialogStatus.Closed) { - checkListHovered.startDuration(100); + root.startCheckRestoreZoomTimer(100); menu.destroy(); backend.ungrabMouse(visualParent); } @@ -280,7 +280,7 @@ PlasmaComponents.ContextMenu { root.signalActionsBlockHiding(-1); //root.signalDraggingState(false); root.disableRestoreZoom = false; - checkListHovered.startDuration(100); + root.startCheckRestoreZoomTimer(100); } }