mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-28 09:35:37 +05:00
Correct implementation of NPAL 19561
This commit is contained in:
parent
ab514907e5
commit
6d38cbb6d0
@ -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() );
|
||||
|
Loading…
Reference in New Issue
Block a user