Mimetype introduction for ucp

CURA-11715
This commit is contained in:
Saumya Jain 2024-03-12 16:30:19 +01:00
parent 5824cf5414
commit b06805dd85
2 changed files with 15 additions and 3 deletions

View file

@ -75,9 +75,9 @@ class UCPDialog(QObject):
device.requestWrite(
nodes,
file_name,
["application/vnd.ms-package.3dmanufacturing-3dmodel+xml"],
["application/x-ucp"],
workspace_handler,
preferred_mimetype_list="application/vnd.ms-package.3dmanufacturing-3dmodel+xml"
preferred_mimetype_list="application/x-ucp"
)
except OutputDeviceError.UserCanceledError:
self._onRejected()