{
myPattern = SMESH::SMESH_Pattern::_duplicate(myCreationDlg->GetPattern());
myName->setText(myCreationDlg->GetPatternName());
+
+ updateWgState();
displayPreview();
+
setEnabled(true);
myIsCreateDlgOpen = false;
}
}
QValueList<int> ids;
- if (!CORBA::is_nil(myPattern) && getIds(ids)) {
+ if (!CORBA::is_nil(myPattern)/* && getIds(ids)*/) {
SMESH::long_array_var keyPoints = myPattern->GetKeyPoints();
if (keyPoints->length()) {
myNode1->setEnabled(true);
}
myBusy = false;
+
+ displayPreview();
}
//=======================================================================