mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3476 Regression Test : Use lastUsedDialogDirectoryWithFallbackToProjectFolder
This commit is contained in:
@@ -54,9 +54,8 @@ void RicExportFishbonesLateralsFeature::onActionTriggered(bool isChecked)
|
||||
CVF_ASSERT(wellPath);
|
||||
|
||||
RiaApplication* app = RiaApplication::instance();
|
||||
QString projectFolder = app->currentProjectPath();
|
||||
|
||||
QString defaultDir = app->lastUsedDialogDirectoryWithFallback("WELL_PATH_EXPORT_DIR", projectFolder);
|
||||
QString defaultDir = app->lastUsedDialogDirectoryWithFallbackToProjectFolder("WELL_PATH_EXPORT_DIR");
|
||||
auto fileName = caf::Utils::makeValidFileBasename(wellPath->name()) + "_laterals.dev";
|
||||
|
||||
auto dialogData = EXP::openDialog();
|
||||
|
||||
Reference in New Issue
Block a user