From 9cc7c3b8e77793858ed923d4ea62db6c892a330c Mon Sep 17 00:00:00 2001 From: rkv Date: Wed, 13 Nov 2013 11:42:55 +0000 Subject: [PATCH] Fix: it was impossible to include geometry objects when a new calculation case is being created. --- src/HYDROGUI/HYDROGUI_CalculationOp.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.39.2