Do not show gcode.gz as an option in save file dialog

CURA-5649
This commit is contained in:
Lipu Fei 2018-08-16 15:16:30 +02:00
parent 376b6a53c9
commit f42dc24d95
4 changed files with 9 additions and 22 deletions

View file

@ -61,6 +61,10 @@ class GlobalStack(CuraContainerStack):
name = self.variant.getName()
return name
@pyqtProperty(str, constant = True)
def preferred_output_file_formats(self) -> str:
return self.getMetaDataEntry("file_formats")
## Add an extruder to the list of extruders of this stack.
#
# \param extruder The extruder to add.