Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.WPF/MainWindow.axaml.cs')
-rw-r--r--UVtools.WPF/MainWindow.axaml.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/UVtools.WPF/MainWindow.axaml.cs b/UVtools.WPF/MainWindow.axaml.cs
index de6127a..d0ffafc 100644
--- a/UVtools.WPF/MainWindow.axaml.cs
+++ b/UVtools.WPF/MainWindow.axaml.cs
@@ -1047,7 +1047,7 @@ namespace UVtools.WPF
string convertFileExtension = SlicerFile switch
{
SL1File sl1File => sl1File.LookupCustomValue<string>(SL1File.Keyword_FileFormat, null),
- VDTFile vdtFile => vdtFile.LookupCustomValue<string>(SL1File.Keyword_FileFormat, null),
+ VDTFile vdtFile => vdtFile.ManifestFile.Machine.UVToolsConvertTo,
_ => null
};
@@ -1074,8 +1074,7 @@ namespace UVtools.WPF
return true;
}
catch (OperationCanceledException)
- {
- }
+ { }
catch (Exception exception)
{
Dispatcher.UIThread.InvokeAsync(async () =>