]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Box : do not display error messages in a window.
authorClarisse Genrault <clarisse.genrault@cea.fr>
Fri, 16 Sep 2016 07:21:10 +0000 (09:21 +0200)
committerClarisse Genrault <clarisse.genrault@cea.fr>
Fri, 16 Sep 2016 07:21:10 +0000 (09:21 +0200)
src/PrimitivesPlugin/PrimitivesPlugin_Box.cpp

index f502f71fcd460b773104b5a35bee826a78230777..f12f7d95a8fe15b91ab6cbd6cf649a437be18573 100644 (file)
@@ -68,11 +68,11 @@ void PrimitivesPlugin_Box::createBoxByDimensions()
 
   // Check if the creation of the box
   if(!aBoxAlgo->isDone()) {
-    setError(aBoxAlgo->getError());
+    setError(aBoxAlgo->getError(), false);
     return;
   }
   if(!aBoxAlgo->checkValid("Box builder with dimensions")) {
-    setError(aBoxAlgo->getError());
+    setError(aBoxAlgo->getError(), false);
     return;
   }