From e83190c09117c5ba97f8b035ecd746a032ba7b53 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Fri, 17 Aug 2018 20:22:08 -0700 Subject: [PATCH] Writeback for updated path values (#111) --- DICUI/MainWindow.xaml.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/DICUI/MainWindow.xaml.cs b/DICUI/MainWindow.xaml.cs index 61cb901e..28ec929c 100644 --- a/DICUI/MainWindow.xaml.cs +++ b/DICUI/MainWindow.xaml.cs @@ -354,6 +354,7 @@ namespace DICUI /// Filled DumpEnvironment instance private DumpEnvironment DetermineEnvironment() { + // Populate the new environment var env = new DumpEnvironment() { // Paths to tools @@ -377,7 +378,11 @@ namespace DICUI Type = MediaTypeComboBox.SelectedItem as MediaType? }; + // Fix and write back the paths env.FixOutputPaths(); + OutputDirectoryTextBox.Text = env.OutputDirectory; + OutputFilenameTextBox.Text = env.OutputFilename; + return env; }