#3476 Regression Test : Use lastUsedDialogDirectoryWithFallbackToProjectFolder

This commit is contained in:
Magne Sjaastad committed 2018-10-10 08:02:41 +02:00
1 parent fd5b9653ba
commit 046c05e76e
10 files changed
+14 -32

No files matched your search

@@ -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;