mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 14:55:03 -06:00
Fix export material to usb
CURA-9122
This commit is contained in:
parent
15b16e3e45
commit
271868eafd
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue