RadioButton1->setChecked(TRUE);
+ myEditCurrentArgument = (QWidget*)LineEditMesh;
+
myActor = 0;
mySelector = (SMESH::GetViewWindow( mySMESHGUI ))->GetSelector();
/* to close dialog if study change */
connect(mySMESHGUI, SIGNAL (SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
- /* Move widget on the botton right corner of main widget */
- int x, y;
- mySMESHGUI->DefineDlgPosition(this, x, y);
- this->move(x, y);
this->show(); /* displays Dialog */
resize(0,0);
buttonOk->setEnabled(false);
buttonApply->setEnabled(false);
+
+ // Init Mesh field from selection
+ SelectionIntoArgument();
}
//=================================================================================
} catch(...) {
}
- mySelectionMgr->clearSelected();
+ //mySelectionMgr->clearSelected();
SMESH::UpdateView();
onDetect();
void SMESHGUI_MergeNodesDlg::ClickOnCancel()
{
mySelectionMgr->clearFilters();
- mySelectionMgr->clearSelected();
+ //mySelectionMgr->clearSelected();
SMESH::SetPointRepresentation(false);
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
aViewWindow->SetSelectionMode(ActorSelection);