mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#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:
@@ -86,7 +86,7 @@ void RicSplitMultiPlotFeature::onActionTriggered( bool isChecked )
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RicSplitMultiPlotFeature::setupActionLook( QAction* actionToSetup )
|
void RicSplitMultiPlotFeature::setupActionLook( QAction* actionToSetup )
|
||||||
{
|
{
|
||||||
actionToSetup->setText( "Split" );
|
actionToSetup->setText( "Split Into Single Curve Plots" );
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -607,7 +607,7 @@ void RigFlowDiagSolverInterface::reportRelPermCurveError( const QString& message
|
|||||||
{
|
{
|
||||||
if ( m_relpermCurveErrorCount == 0 )
|
if ( m_relpermCurveErrorCount == 0 )
|
||||||
{
|
{
|
||||||
RiaLogging::errorInMessageBox( nullptr, "ResInsight", "RelPerm curve problems: \n" + message );
|
RiaLogging::warning( "RelPerm curve problems: \n" + message );
|
||||||
}
|
}
|
||||||
m_relpermCurveErrorCount++;
|
m_relpermCurveErrorCount++;
|
||||||
}
|
}
|
||||||
@@ -619,7 +619,7 @@ void RigFlowDiagSolverInterface::reportPvtCurveError( const QString& message )
|
|||||||
{
|
{
|
||||||
if ( m_pvtCurveErrorCount == 0 )
|
if ( m_pvtCurveErrorCount == 0 )
|
||||||
{
|
{
|
||||||
RiaLogging::errorInMessageBox( nullptr, "ResInsight", "PVT curve problems: \n" + message );
|
RiaLogging::warning( "PVT curve problems: \n" + message );
|
||||||
}
|
}
|
||||||
m_pvtCurveErrorCount++;
|
m_pvtCurveErrorCount++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user