Update method isValid() for bug IPAL11201.

This commit is contained in:
skl 2006-07-14 06:24:54 +00:00
parent e9d9ec4df8
commit 102ebded1b

View File

@ -383,6 +383,13 @@ bool SMESHGUI_MeshPatternDlg::isValid (const bool theMess)
return false;
}
if ( myName->text()=="" ) {
if (theMess)
QMessageBox::information(SMESHGUI::desktop(), tr("SMESH_INSUFFICIENT_DATA"),
tr("SMESHGUI_INVALID_PARAMETERS"), QMessageBox::Ok);
return false;
}
return true;
}