mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 19:50:34 +05:00
Update method isValid() for bug IPAL11201.
This commit is contained in:
parent
e9d9ec4df8
commit
102ebded1b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user