Salome HOME
fix selection by id entering, fix shape dim definition
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_RotationDlg.cxx
index 8b074aba329114f1156a27f0ebd2793981cc3996..baf1359ce0ee489ef887409b8d4a4a7e2a68403a 100644 (file)
@@ -424,9 +424,9 @@ void SMESHGUI_RotationDlg::ClickOnApply()
     } catch (...) {
     }
 
-    mySelectionMgr->clearSelected();
     SMESH::UpdateView();
     Init(false);
+    SelectionIntoArgument();
   }
 }
 
@@ -448,7 +448,7 @@ void SMESHGUI_RotationDlg::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);