#8964 Avoid message box for PVT and Rel Perm issues

Log warning message to log window instead of a dialog
Improve text
This commit is contained in:
Magne Sjaastad 2022-05-26 17:47:09 +02:00
parent a511bfd722
commit ab2a7254f8
2 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ void RicSplitMultiPlotFeature::onActionTriggered( bool isChecked )
//--------------------------------------------------------------------------------------------------
void RicSplitMultiPlotFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Split" );
actionToSetup->setText( "Split Into Single Curve Plots" );
}
//--------------------------------------------------------------------------------------------------

View File

@ -607,7 +607,7 @@ void RigFlowDiagSolverInterface::reportRelPermCurveError( const QString& message
{
if ( m_relpermCurveErrorCount == 0 )
{
RiaLogging::errorInMessageBox( nullptr, "ResInsight", "RelPerm curve problems: \n" + message );
RiaLogging::warning( "RelPerm curve problems: \n" + message );
}
m_relpermCurveErrorCount++;
}
@ -619,7 +619,7 @@ void RigFlowDiagSolverInterface::reportPvtCurveError( const QString& message )
{
if ( m_pvtCurveErrorCount == 0 )
{
RiaLogging::errorInMessageBox( nullptr, "ResInsight", "PVT curve problems: \n" + message );
RiaLogging::warning( "PVT curve problems: \n" + message );
}
m_pvtCurveErrorCount++;
}