From: Clarisse Genrault Date: Fri, 16 Sep 2016 07:21:10 +0000 (+0200) Subject: Box : do not display error messages in a window. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6bd1485b40b23a4a5278970f7c1bbdfee04c0279;p=modules%2Fshaper.git Box : do not display error messages in a window. --- diff --git a/src/PrimitivesPlugin/PrimitivesPlugin_Box.cpp b/src/PrimitivesPlugin/PrimitivesPlugin_Box.cpp index f502f71fc..f12f7d95a 100644 --- a/src/PrimitivesPlugin/PrimitivesPlugin_Box.cpp +++ b/src/PrimitivesPlugin/PrimitivesPlugin_Box.cpp @@ -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; }