Writeback for updated path values (#111)

This commit is contained in:
Matt Nadareski
2018-08-17 20:22:08 -07:00
parent 82eabc12ca
commit e83190c091

View File

@@ -354,6 +354,7 @@ namespace DICUI
/// <returns>Filled DumpEnvironment instance</returns>
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;
}