From: rkv Date: Wed, 13 Nov 2013 11:42:55 +0000 (+0000) Subject: Fix: it was impossible to include geometry objects when a new calculation case is... X-Git-Tag: BR_hydro_v_0_3~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9cc7c3b8e77793858ed923d4ea62db6c892a330c;p=modules%2Fhydro.git Fix: it was impossible to include geometry objects when a new calculation case is being created. --- diff --git a/src/HYDROGUI/HYDROGUI_CalculationOp.cxx b/src/HYDROGUI/HYDROGUI_CalculationOp.cxx index 093b78fa..e04ec0be 100644 --- a/src/HYDROGUI/HYDROGUI_CalculationOp.cxx +++ b/src/HYDROGUI/HYDROGUI_CalculationOp.cxx @@ -489,6 +489,10 @@ bool HYDROGUI_CalculationOp::confirmRegionsChange() const QMessageBox::Yes | QMessageBox::No, QMessageBox::No ) == QMessageBox::Yes ); } + else + { + isConfirmed = true; // No regions - no zones - nothing to recalculate + } } return isConfirmed; }