diff options
author | alekseisasin <a.sasin@ultimaker.com> | 2018-08-22 17:28:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-22 17:28:58 +0300 |
commit | 0d293ddced11e652fd9138df088d21956306be02 (patch) | |
tree | a8e37781b546d31e67c3c32655c11f6bb6021337 /plugins/GCodeGzWriter | |
parent | ff38ee2bede451825b9a359394a7cb917e1d65c1 (diff) | |
parent | 94ce9205c3fc10f69c7508a189ca3a9641a4b123 (diff) |
Merge pull request #4251 from Ultimaker/CURA-5645_no_write_gcode_to_recent_files
CURA-5645 Do not add saved gcodes to recent files list
Diffstat (limited to 'plugins/GCodeGzWriter')
-rw-r--r-- | plugins/GCodeGzWriter/GCodeGzWriter.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/GCodeGzWriter/GCodeGzWriter.py b/plugins/GCodeGzWriter/GCodeGzWriter.py index e191a9c427..cbbfb8f986 100644 --- a/plugins/GCodeGzWriter/GCodeGzWriter.py +++ b/plugins/GCodeGzWriter/GCodeGzWriter.py @@ -17,6 +17,10 @@ catalog = i18nCatalog("cura") # # If you're zipping g-code, you might as well use gzip! class GCodeGzWriter(MeshWriter): + + def __init__(self) -> None: + super().__init__(add_to_recent_files = False) + ## Writes the gzipped g-code to a stream. # # Note that even though the function accepts a collection of nodes, the |