]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Fix: it was impossible to include geometry objects when a new calculation case is...
authorrkv <rkv@opencascade.com>
Wed, 13 Nov 2013 11:42:55 +0000 (11:42 +0000)
committerrkv <rkv@opencascade.com>
Wed, 13 Nov 2013 11:42:55 +0000 (11:42 +0000)
src/HYDROGUI/HYDROGUI_CalculationOp.cxx

index 093b78fa412643a56118c17a42d097652b0e5d1c..e04ec0be635f3dc65bb940e5fede3282815bf512 100644 (file)
@@ -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;
 }