mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
#19889 [CEA] No more items available in context menu after delete group with contents
This commit is contained in:
parent
3632886261
commit
aca37fd07f
@ -250,12 +250,16 @@ void SMESHGUI_DeleteGroupDlg::onOk()
|
||||
//=================================================================================
|
||||
void SMESHGUI_DeleteGroupDlg::reject()
|
||||
{
|
||||
if (SMESH::GetCurrentVtkView()) {
|
||||
SMESH::RemoveFilters(); // PAL6938 -- clean all mesh entity filters
|
||||
}
|
||||
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
||||
aViewWindow->SetSelectionMode(ActorSelection);
|
||||
disconnect(mySelectionMgr, 0, this, 0);
|
||||
disconnect(mySMESHGUI, 0, this, 0);
|
||||
mySMESHGUI->ResetState();
|
||||
//disconnect(mySMESHGUI, 0, this, 0);
|
||||
//mySMESHGUI->ResetState();
|
||||
mySelectionMgr->clearFilters();
|
||||
mySMESHGUI->ResetState();
|
||||
QDialog::reject();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user