From 8dc47a84a2a97c38e48c0c301f740c43c68c6c02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Jensen?= Date: Thu, 21 Dec 2017 12:39:06 +0100 Subject: [PATCH] Export Completions Dialog. Do not overwrite export folder setting --- .../RicWellPathExportCompletionDataFeature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationCode/Commands/CompletionCommands/RicWellPathExportCompletionDataFeature.cpp b/ApplicationCode/Commands/CompletionCommands/RicWellPathExportCompletionDataFeature.cpp index 30d74d7659..9113dee1df 100644 --- a/ApplicationCode/Commands/CompletionCommands/RicWellPathExportCompletionDataFeature.cpp +++ b/ApplicationCode/Commands/CompletionCommands/RicWellPathExportCompletionDataFeature.cpp @@ -139,7 +139,7 @@ void RicWellPathExportCompletionDataFeature::onActionTriggered(bool isChecked) } } - exportSettings->folder = defaultDir; + if(exportSettings->folder().isEmpty()) exportSettings->folder = defaultDir; caf::PdmUiPropertyViewDialog propertyDialog(RiuMainWindow::instance(), exportSettings, "Export Completion Data", ""); RicExportFeatureImpl::configureForExport(&propertyDialog);