mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-02 03:54:29 +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()
|
void SMESHGUI_DeleteGroupDlg::reject()
|
||||||
{
|
{
|
||||||
|
if (SMESH::GetCurrentVtkView()) {
|
||||||
|
SMESH::RemoveFilters(); // PAL6938 -- clean all mesh entity filters
|
||||||
|
}
|
||||||
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
||||||
aViewWindow->SetSelectionMode(ActorSelection);
|
aViewWindow->SetSelectionMode(ActorSelection);
|
||||||
disconnect(mySelectionMgr, 0, this, 0);
|
disconnect(mySelectionMgr, 0, this, 0);
|
||||||
disconnect(mySMESHGUI, 0, this, 0);
|
//disconnect(mySMESHGUI, 0, this, 0);
|
||||||
mySMESHGUI->ResetState();
|
//mySMESHGUI->ResetState();
|
||||||
mySelectionMgr->clearFilters();
|
mySelectionMgr->clearFilters();
|
||||||
|
mySMESHGUI->ResetState();
|
||||||
QDialog::reject();
|
QDialog::reject();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user