Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9d9ec4
)
Update method isValid() for bug IPAL11201.
author
skl
<skl@opencascade.com>
Fri, 14 Jul 2006 06:24:54 +0000
(06:24 +0000)
committer
skl
<skl@opencascade.com>
Fri, 14 Jul 2006 06:24:54 +0000
(06:24 +0000)
src/SMESHGUI/SMESHGUI_MeshPatternDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_MeshPatternDlg.cxx
b/src/SMESHGUI/SMESHGUI_MeshPatternDlg.cxx
index ca78bb60ec75bf4d9be9de14295b7a97b3cf94fa..9184f68b509f4b231cec2ca5ca8de29da323b372 100755
(executable)
--- a/
src/SMESHGUI/SMESHGUI_MeshPatternDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_MeshPatternDlg.cxx
@@
-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;
}