Log error message instead of displaying a dialog

The error message is displayed once for each time step, and appears as eternal loop if you have many time steps.
This commit is contained in:
Magne Sjaastad
2024-01-16 10:21:41 +01:00
parent 5c096748c8
commit 35cc2127f2

View File

@@ -541,8 +541,9 @@ void RimGridCalculation::filterResults( RimGridView*
replaceFilteredValuesWithVector( values[m_defaultPropertyVariableIndex], visibility, resultValues, porosityModel, outputEclipseCase );
else
{
QString errorMessage = "Invalid input data for default result property, no data assigned to non-visible cells.";
RiaLogging::errorInMessageBox( nullptr, "Grid Property Calculator", errorMessage );
QString errorMessage =
"Grid Property Calculator: Invalid input data for default result property, no data assigned to non-visible cells.";
RiaLogging::error( errorMessage );
}
}
else