diff --git a/src/plugins/platforms/android/androidjnimenu.cpp b/src/plugins/platforms/android/androidjnimenu.cpp index 4a8439d4a9..8018cef1dc 100644 --- a/src/plugins/platforms/android/androidjnimenu.cpp +++ b/src/plugins/platforms/android/androidjnimenu.cpp @@ -350,6 +350,10 @@ namespace QtAndroidMenu item->activated(); visibleMenu->aboutToHide(); visibleMenu = 0; + foreach (QAndroidPlatformMenu *menu, pendingContextMenus) { + if (menu->isVisible()) + menu->aboutToHide(); + } pendingContextMenus.clear(); } }