mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8113 LAS file import: Do not use message box for warning
This commit is contained in:
@@ -162,14 +162,11 @@ void RimWellLogFileCurve::onLoadDataAndUpdate( bool updateParentPlot )
|
||||
.arg( depthTitle );
|
||||
}
|
||||
|
||||
bool showWarning = !RiaPreferences::current()->showLasCurveWithoutTvdWarning();
|
||||
if ( !errMsg.isEmpty() && showWarning )
|
||||
if ( !errMsg.isEmpty() )
|
||||
{
|
||||
QString tmp = QString( "The LAS curve can not be displayed.\n%1\n" ).arg( errMsg );
|
||||
tmp += "Control display of this warning from \"Preferences->Show LAS curve without TVD "
|
||||
"warning\"";
|
||||
|
||||
RiaLogging::errorInMessageBox( nullptr, "LAS curve without current depth type", tmp );
|
||||
RiaLogging::warning( tmp );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user