Salome HOME
Fix for the problem: it's impossible to modify element by typing it ID (without selec...
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_RevolutionDlg.cxx
index 2f15f1882ba0d8de15098351db4472e3709a93e0..b7c256adf6712b392a43cd4b96c139450bea6545 100644 (file)
@@ -341,6 +341,7 @@ SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg( SMESHGUI* theModule, const char*
   this->show(); /* displays Dialog */
 
   ConstructorsClicked(0);
+  SelectionIntoArgument();
   resize(0,0); // ??
 }
 
@@ -469,10 +470,10 @@ void SMESHGUI_RevolutionDlg::ClickOnApply()
     } catch (...) {
     }
 
-    mySelectionMgr->clearSelected();
     SMESH::UpdateView();
     Init(false);
     ConstructorsClicked(GetConstructorId());
+    SelectionIntoArgument();
   }
 }