mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Optionally apply a grid calculation on all grids
This commit is contained in:
@@ -205,6 +205,11 @@ bool RicUserDefinedCalculatorUi::calculate() const
|
||||
notifyCalculatedNameChanged( m_currentCalculation()->id(), currentCurveName );
|
||||
}
|
||||
|
||||
if ( !m_currentCalculation()->preCalculate() )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( !m_currentCalculation()->calculate() )
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user