#3463 Well Path Export. Use project folder as default export folder

This commit is contained in:
Bjørn Erik Jensen
2018-10-31 08:20:38 +01:00
parent 68d34d7000
commit 683ac7ea1e

View File

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