mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05:00
#4801 Prefix WBS-las export and capitalize file name
This commit is contained in:
1 parent
7f4869f37c
commit
288acda703
7 files changed
+44
-8
No files matched your search
@@ -68,6 +68,12 @@ void RicExportToLasFileFeature::onActionTriggered( bool isChecked )
|
||||
RicExportToLasFileResampleUi featureUi;
|
||||
featureUi.exportFolder = defaultDir;
|
||||
|
||||
if ( RicWellLogPlotCurveFeatureImpl::parentWellBoreStabilityPlot() )
|
||||
{
|
||||
featureUi.filePrefix = "WBS_";
|
||||
featureUi.capitalizeFileName = true;
|
||||
}
|
||||
|
||||
{
|
||||
std::vector<QString> wellNames;
|
||||
std::vector<double> rkbDiffs;
|
||||
@@ -101,7 +107,7 @@ void RicExportToLasFileFeature::onActionTriggered( bool isChecked )
|
||||
lasExporter.setRkbDiffs( wellNames, userDefRkbDiff );
|
||||
}
|
||||
|
||||
lasExporter.writeToFolder( featureUi.exportFolder() );
|
||||
lasExporter.writeToFolder( featureUi.exportFolder(), featureUi.filePrefix(), featureUi.capitalizeFileName() );
|
||||
|
||||
// Remember the path to next time
|
||||
RiaApplication::instance()->setLastUsedDialogDirectory( "WELL_LOGS_DIR", featureUi.exportFolder() );
|
||||
|
||||
Reference in new issue
Block a user