#3476 Regression Test : Use lastUsedDialogDirectoryWithFallbackToProjectFolder

This commit is contained in:
Magne Sjaastad
2018-10-09 16:05:15 +02:00
parent fd5b9653ba
commit 046c05e76e
10 changed files with 14 additions and 32 deletions

View File

@@ -63,10 +63,7 @@ void RicExportToLasFileFeature::onActionTriggered(bool isChecked)
std::vector<RimWellLogCurve*> curves = RicWellLogPlotCurveFeatureImpl::selectedWellLogCurves();
if (curves.size() == 0) return;
RiaApplication* app = RiaApplication::instance();
QString projectFolder = app->currentProjectPath();
QString defaultDir = RiaApplication::instance()->lastUsedDialogDirectoryWithFallback("WELL_LOGS_DIR", projectFolder);
QString defaultDir = RiaApplication::instance()->lastUsedDialogDirectoryWithFallbackToProjectFolder("WELL_LOGS_DIR");
RigLasFileExporter lasExporter(curves);
RicExportToLasFileResampleUi featureUi;