mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 18:29:10 +08:00
Rename variable to exportName for clarity
This commit is contained in:
parent
ae821e6e99
commit
6313e9cc48
@ -557,14 +557,14 @@ Item
|
|||||||
text: catalog.i18nc("@action:inmenu menubar:help","Export Project For Support")
|
text: catalog.i18nc("@action:inmenu menubar:help","Export Project For Support")
|
||||||
onTriggered:
|
onTriggered:
|
||||||
{
|
{
|
||||||
var supportName = CuraActions.supportProjectTag()
|
var exportName = CuraActions.supportProjectTag()
|
||||||
var args = {
|
var args = {
|
||||||
"filter_by_machine": false,
|
"filter_by_machine": false,
|
||||||
"file_type": "workspace",
|
"file_type": "workspace",
|
||||||
"preferred_mimetypes": "application/vnd.ms-package.3dmanufacturing-3dmodel+xml",
|
"preferred_mimetypes": "application/vnd.ms-package.3dmanufacturing-3dmodel+xml",
|
||||||
"limit_mimetypes": ["application/vnd.ms-package.3dmanufacturing-3dmodel+xml"],
|
"limit_mimetypes": ["application/vnd.ms-package.3dmanufacturing-3dmodel+xml"],
|
||||||
};
|
};
|
||||||
UM.OutputDeviceManager.requestWriteToDevice("local_file", supportName, args)
|
UM.OutputDeviceManager.requestWriteToDevice("local_file", exportName, args)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user