From 2850e5f7ba27175aaa4af13a3f5d268b40c6d53f Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 16 Nov 2005 15:01:31 +0000 Subject: [PATCH] PAL10515. fix disconnect from selection manager --- src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx b/src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx index fdf604ae7..d2146e01e 100755 --- a/src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx @@ -389,7 +389,8 @@ void SMESHGUI_CreatePatternDlg::onSave() //SUIT_Application::getDesktop()->setSelectionModes(ActorSelection); if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI )) 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); mySMESHGUI->ResetState(); accept();