Commit 7ed86c5c authored by Guillaume Seguin's avatar Guillaume Seguin

Correctly specify gcodeplater file wildcards

parent e44a1e46
...@@ -30,8 +30,8 @@ from printrun.gl.libtatlin import actors ...@@ -30,8 +30,8 @@ from printrun.gl.libtatlin import actors
class GcodePlater(Plater): class GcodePlater(Plater):
load_wildcard = _("GCODE files (*.gcode;*.GCODE;*.g)") load_wildcard = _("GCODE files (*.gcode;*.GCODE;*.g)") + "|*.gcode;*.gco;*.g"
save_wildcard = _("GCODE files (*.gcode;*.GCODE;*.g)") save_wildcard = _("GCODE files (*.gcode;*.GCODE;*.g)") + "|*.gcode;*.gco;*.g"
def __init__(self, filenames = [], size = (800, 580), callback = None, parent = None, build_dimensions = None): def __init__(self, filenames = [], size = (800, 580), callback = None, parent = None, build_dimensions = None):
super(GcodePlater, self).__init__(filenames, size, callback, parent, build_dimensions) super(GcodePlater, self).__init__(filenames, size, callback, parent, build_dimensions)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment