From: vsr Date: Tue, 28 Jan 2020 12:34:53 +0000 (+0300) Subject: From bos #17351 - Fixed crash when activating controls from main menu after mesh... X-Git-Tag: V9_5_0a1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3e5f3ccf11b6d2124731a3e0532cd46c6bb8c850;p=modules%2Fgui.git From bos #17351 - Fixed crash when activating controls from main menu after mesh is cleared --- 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.