Salome HOME
projects
/
plugins
/
blsurfplugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b035d22
)
If there is an error, returns the message to display a single Warning Dialog.
author
gdd
<gdd>
Tue, 10 Jan 2012 14:58:39 +0000
(14:58 +0000)
committer
gdd
<gdd>
Tue, 10 Jan 2012 14:58:39 +0000
(14:58 +0000)
src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx
patch
|
blob
|
history
diff --git
a/src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx
b/src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx
index 5e6d4fc68bf07c10d0ea51889ce2e166aad54441..478b55a990f2d63f510c151bb7c481d2883c07df 100644
(file)
--- a/
src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx
+++ b/
src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx
@@
-577,9
+577,7
@@
bool BLSURFPluginGUI_HypothesisCreator::checkParams(QString& msg) const
}
catch ( const SALOME::SALOME_Exception& ex )
{
- SUIT_MessageBox::critical( dlg(),
- tr("SMESH_ERROR"),
- ex.details.text.in() );
+ msg = ex.details.text.in();
ok = false;
}
}
@@
-620,9
+618,7
@@
bool BLSURFPluginGUI_HypothesisCreator::checkParams(QString& msg) const
}
catch ( const SALOME::SALOME_Exception& ex )
{
- SUIT_MessageBox::critical( dlg(),
- tr("SMESH_ERROR"),
- ex.details.text.in() );
+ msg = ex.details.text.in();
ok = false;
}
}