From 683ac7ea1e9ac9c1e0bff947f1994be843413f43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Jensen?= Date: Wed, 31 Oct 2018 08:20:38 +0100 Subject: [PATCH] #3463 Well Path Export. Use project folder as default export folder --- .../ExportCommands/RicExportSelectedWellPathsFeature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationCode/Commands/ExportCommands/RicExportSelectedWellPathsFeature.cpp b/ApplicationCode/Commands/ExportCommands/RicExportSelectedWellPathsFeature.cpp index 7895febc2b..17e47d21b6 100644 --- a/ApplicationCode/Commands/ExportCommands/RicExportSelectedWellPathsFeature.cpp +++ b/ApplicationCode/Commands/ExportCommands/RicExportSelectedWellPathsFeature.cpp @@ -181,7 +181,7 @@ RicExportWellPathsUi* RicExportSelectedWellPathsFeature::openDialog() RiaApplication* app = RiaApplication::instance(); RimProject* proj = app->project(); - QString startPath = app->lastUsedDialogDirectory("WELL_PATH_EXPORT_DIR"); + QString startPath = app->lastUsedDialogDirectoryWithFallbackToProjectFolder("WELL_PATH_EXPORT_DIR"); if (startPath.isEmpty()) { QFileInfo fi(proj->fileName());