mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Define gcode.gz extension in GCodeGzReader
So if you were to disable the GCodeGzReader plug-in, you will now no longer see the extension in the files you can read. Fixes #4151.
This commit is contained in:
parent
80804b232f
commit
88ba2ac345
2 changed files with 10 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
# Copyright (c) 2017 Aleph Objects, Inc.
|
||||
# Copyright (c) 2018 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
from UM.FileHandler.FileReader import FileReader
|
||||
|
@ -15,7 +16,7 @@ MimeTypeDatabase.addMimeType(
|
|||
MimeType(
|
||||
name = "application/x-cura-gcode-file",
|
||||
comment = "Cura GCode File",
|
||||
suffixes = ["gcode", "gcode.gz"]
|
||||
suffixes = ["gcode"]
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue