]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
From bos #17351 - Fixed crash when activating controls from main menu after mesh...
authorvsr <vsr@opencascade.com>
Tue, 28 Jan 2020 12:34:53 +0000 (15:34 +0300)
committervsr <vsr@opencascade.com>
Tue, 28 Jan 2020 12:34:53 +0000 (15:34 +0300)
src/LightApp/LightApp_Module.cxx

index 1fa29d449dfb360878abfa24c9ab4d3604a2c2d1..0a1e2cb1552e8399ef4b39364853b93a79c3f66a 100644 (file)
@@ -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.