From 6d38cbb6d034f6308bfd5df629bc79668b58e50b Mon Sep 17 00:00:00 2001 From: dmv Date: Thu, 17 Apr 2008 08:41:36 +0000 Subject: [PATCH] Correct implementation of NPAL 19561 --- src/SMESHGUI/SMESHGUI.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 3e3194dc4..7be6b84df 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -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( application()->activeStudy() ); -- 2.39.2