Salome HOME
Correct implementation of NPAL 19561
authordmv <dmv@opencascade.com>
Thu, 17 Apr 2008 08:41:36 +0000 (08:41 +0000)
committerdmv <dmv@opencascade.com>
Thu, 17 Apr 2008 08:41:36 +0000 (08:41 +0000)
src/SMESHGUI/SMESHGUI.cxx

index 3e3194dc43a54f4f0753960bee5752543fbba4ea..7be6b84dff1865ec29b218528c1e652de38bc3ef 100644 (file)
@@ -3137,9 +3137,8 @@ void SMESHGUI::contextMenuPopup( const QString& client, QPopupMenu* menu, QStrin
   sel.init( client, selectionMgr() );
   popupMgr()->updatePopup( menu, &sel );
 
-  SalomeApp_Module::contextMenuPopup( client, menu, title );
   SALOME_ListIO lst;
-  getApp()->selectionMgr()->selectedObjects( lst );
+  selectionMgr()->selectedObjects( lst );
   if ( ( client == "OCCViewer" || client == "VTKViewer" ) && lst.Extent() == 1 ) {
     Handle(SALOME_InteractiveObject) io = lst.First();
     SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( application()->activeStudy() );