diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2018-08-17 11:53:01 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2018-08-17 11:53:30 +0300 |
commit | 1079a9be2c72de8d4c32895701e9842e1521fd09 (patch) | |
tree | 7c2b8e87e1589d8ed90aa713d4c0a943b326f005 /plugins/GCodeGzWriter | |
parent | 013032279db10b858b5bbd8b2115de762723665e (diff) |
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 |