Salome HOME
PAL10515. fix disconnect from selection manager V3_1_0a3
authoreap <eap@opencascade.com>
Wed, 16 Nov 2005 15:01:31 +0000 (15:01 +0000)
committereap <eap@opencascade.com>
Wed, 16 Nov 2005 15:01:31 +0000 (15:01 +0000)
src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx

index fdf604a..d2146e0 100755 (executable)
@@ -389,7 +389,8 @@ void SMESHGUI_CreatePatternDlg::onSave()
       //SUIT_Application::getDesktop()->setSelectionModes(ActorSelection);\r
       if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))\r
        aViewWindow->SetSelectionMode(ActorSelection);\r
-      disconnect(mySelectionMgr, 0, this, 0);\r
+      //disconnect(mySelectionMgr, 0, this, 0);\r
+      disconnect(mySelectionMgr, SIGNAL(currentSelectionChanged()), this, SLOT(onSelectionDone()));\r
       disconnect(mySMESHGUI, 0, this, 0);\r
       mySMESHGUI->ResetState();\r
       accept();\r