Fix export material to usb

CURA-9122
This commit is contained in:
Jaime van Kessel 2022-04-20 11:23:35 +02:00
parent 15b16e3e45
commit 271868eafd

View file

@ -701,7 +701,7 @@ Window
{
if(!materialsSyncDialog.hasExportedUsb)
{
exportUsbDialog.folder = syncModel.getPreferredExportAllPath();
exportUsbDialog.currentFolder = syncModel.getPreferredExportAllPath();
exportUsbDialog.open();
}
else
@ -733,6 +733,7 @@ Window
{
title: catalog.i18nc("@title:window", "Export All Materials")
nameFilters: ["Material archives (*.umm)", "All files (*)"]
fileMode: FileDialog.SaveFile
onAccepted:
{
syncModel.exportAll(selectedFile);