Improve fault reactivation file names (#11005)

Use model name in exported file name.
Add model name to include file names.
This commit is contained in:
jonjenssen
2024-01-05 08:43:40 +01:00
committed by GitHub
parent 544e6974e7
commit daae1e6e05
9 changed files with 107 additions and 104 deletions

View File

@@ -54,9 +54,9 @@ void RicShowFaultReactModelFeature::onActionTriggered( bool isChecked )
if ( model == nullptr ) return;
const QString frmTitle( "Fault Reactivation Modeling" );
const QString exportFile = model->inputFilename();
auto [result, errText] = RifFaultReactivationModelExporter::exportToFile( exportFile.toStdString(), *model );
auto exportFile = QString::fromStdString( model->inputFilename() );
auto [result, errText] = RifFaultReactivationModelExporter::exportToFile( *model );
if ( !result )
{
QString outErrorText =