From 6bd1485b40b23a4a5278970f7c1bbdfee04c0279 Mon Sep 17 00:00:00 2001 From: Clarisse Genrault Date: Fri, 16 Sep 2016 09:21:10 +0200 Subject: [PATCH] Box : do not display error messages in a window. --- src/PrimitivesPlugin/PrimitivesPlugin_Box.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2