mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 21:09:15 +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)
|
if(!materialsSyncDialog.hasExportedUsb)
|
||||||
{
|
{
|
||||||
exportUsbDialog.folder = syncModel.getPreferredExportAllPath();
|
exportUsbDialog.currentFolder = syncModel.getPreferredExportAllPath();
|
||||||
exportUsbDialog.open();
|
exportUsbDialog.open();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -733,6 +733,7 @@ Window
|
|||||||
{
|
{
|
||||||
title: catalog.i18nc("@title:window", "Export All Materials")
|
title: catalog.i18nc("@title:window", "Export All Materials")
|
||||||
nameFilters: ["Material archives (*.umm)", "All files (*)"]
|
nameFilters: ["Material archives (*.umm)", "All files (*)"]
|
||||||
|
fileMode: FileDialog.SaveFile
|
||||||
onAccepted:
|
onAccepted:
|
||||||
{
|
{
|
||||||
syncModel.exportAll(selectedFile);
|
syncModel.exportAll(selectedFile);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user