mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
PAL10515. fix disconnect from selection manager
This commit is contained in:
parent
a5e3cc49d7
commit
2850e5f7ba
@ -389,7 +389,8 @@ void SMESHGUI_CreatePatternDlg::onSave()
|
|||||||
//SUIT_Application::getDesktop()->setSelectionModes(ActorSelection);
|
//SUIT_Application::getDesktop()->setSelectionModes(ActorSelection);
|
||||||
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(mySelectionMgr, SIGNAL(currentSelectionChanged()), this, SLOT(onSelectionDone()));
|
||||||
disconnect(mySMESHGUI, 0, this, 0);
|
disconnect(mySMESHGUI, 0, this, 0);
|
||||||
mySMESHGUI->ResetState();
|
mySMESHGUI->ResetState();
|
||||||
accept();
|
accept();
|
||||||
|
Loading…
Reference in New Issue
Block a user