mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 18:19:10 +08:00
Fix export material to usb
CURA-9122
This commit is contained in:
parent
15b16e3e45
commit
271868eafd
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user