Restore output device arguments

Or else the LocalFileProvider will output a mesh 3mf file and not a cura project 3mf.

CURA-7865
This commit is contained in:
Kostas Karmas 2021-01-20 21:11:04 +01:00
parent 32df06c280
commit 280d8574e9

View File

@ -23,7 +23,7 @@ Menu
text: model.name text: model.name
onTriggered: onTriggered:
{ {
var args = {}; var args = { "filter_by_machine": false, "file_type": "workspace", "preferred_mimetypes": "application/vnd.ms-package.3dmanufacturing-3dmodel+xml" };
if (UM.Preferences.getValue("cura/dialog_on_project_save")) if (UM.Preferences.getValue("cura/dialog_on_project_save"))
{ {
saveWorkspaceDialog.deviceId = model.id saveWorkspaceDialog.deviceId = model.id