Fix inconsistent curaproject mimetype definition

CURA-5334

 - In project file writer, it says the mime type is "application/x-curaproject+xml",
   and we decided to use this as THE mime type.
 - Pass preferred_mimetype to save project file dialog so it
   automatically adds the file extension upon open.
This commit is contained in:
Lipu Fei 2018-06-07 12:51:52 +02:00 committed by Diego Prado Gesto
parent 624bbbeb4a
commit 12a406529e
2 changed files with 6 additions and 3 deletions

View file

@ -86,7 +86,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
MimeTypeDatabase.addMimeType(
MimeType(
name="application/x-cura-project-file",
name="application/x-curaproject+xml",
comment="Cura Project File",
suffixes=["curaproject.3mf"]
)