From 8bd7e4737d4999c204dba61f1c065a4611f50cce Mon Sep 17 00:00:00 2001 From: asl Date: Thu, 10 Dec 2009 13:34:45 +0000 Subject: [PATCH] debug --- src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx b/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx index 58441e078..805cdae27 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx @@ -88,10 +88,11 @@ bool StdMeshersGUI_NbSegmentsCreator::checkParams( QString& msg, QStringList& ab NbSegmentsHypothesisData data_old, data_new; readParamsFromHypo( data_old ); readParamsFromWidgets( data_new ); - bool res = storeParamsToHypo( data_new ); - storeParamsToHypo( data_old ); + bool res = true; res = myNbSeg->isValid( msg, absentParams, true ) && res; res = myScale->isValid( msg, absentParams, true ) && res; + res = res && storeParamsToHypo( data_new ); + res = res && storeParamsToHypo( data_old ); return res; } -- 2.39.2