From 3e5f3ccf11b6d2124731a3e0532cd46c6bb8c850 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 28 Jan 2020 15:34:53 +0300 Subject: [PATCH] From bos #17351 - Fixed crash when activating controls from main menu after mesh is cleared --- src/LightApp/LightApp_Module.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/LightApp/LightApp_Module.cxx b/src/LightApp/LightApp_Module.cxx index 1fa29d449..0a1e2cb15 100644 --- a/src/LightApp/LightApp_Module.cxx +++ b/src/LightApp/LightApp_Module.cxx @@ -149,6 +149,7 @@ void LightApp_Module::contextMenuPopup( const QString& client, QMenu* menu, QStr popupMgr()->setSelection( sel ); popupMgr()->setMenu( menu ); popupMgr()->updateMenu(); + popupMgr()->setSelection( 0 ); } /*!Update object browser. -- 2.39.2