Salome HOME
PAL10595: unit and coordinate name length must be equal to 16
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_RevolutionDlg.cxx
index fb35d63efa0e360e739602c2b5d8fe67451570ee..2722e4f40895cb48361aeba44d258b713695e17d 100644 (file)
@@ -341,6 +341,7 @@ SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg( SMESHGUI* theModule, const char*
   this->show(); /* displays Dialog */
 
   ConstructorsClicked(0);
+  SelectionIntoArgument();
   resize(0,0); // ??
 }
 
@@ -494,7 +495,7 @@ void SMESHGUI_RevolutionDlg::ClickOnCancel()
 {
   disconnect(mySelectionMgr, 0, this, 0);
   mySelectionMgr->clearFilters();
-  mySelectionMgr->clearSelected();
+  //mySelectionMgr->clearSelected();
   SMESH::SetPointRepresentation(false);
   if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
     aViewWindow->SetSelectionMode(ActorSelection);