mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3463 Well Path Export. Use project folder as default export folder
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user