Skip to content

Commit

Permalink
Fix bug with accessing URI of export directory
Browse files Browse the repository at this point in the history
Ensures that the full path to the export directory is resolved, and the
URI resolved against that.
  • Loading branch information
TAGC committed Oct 8, 2017
1 parent 84c2abe commit ae3dfdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Everlook/UI/EverlookPreferences.cs
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ private void LoadConfigurationValues()
}
}

this.DefaultExportDirectoryFileChooserButton.SetUri(new Uri(this.Config.DefaultExportDirectory).AbsoluteUri);
//this.DefaultExportDirectoryFileChooserButton.SetFilename(this.Config.DefaultExportDirectory);
string fullExportPath = System.IO.Path.GetFullPath(this.Config.DefaultExportDirectory);
this.DefaultExportDirectoryFileChooserButton.SetUri(new Uri(fullExportPath).AbsoluteUri);

this.DefaultModelExportFormatComboBox.Active = (int)this.Config.DefaultModelExportFormat;
this.DefaultImageExportFormatComboBox.Active = (int)this.Config.DefaultImageExportFormat;
Expand Down

0 comments on commit ae3dfdf

Please sign in to comment.