Commit f4cbf671 authored by Guillaume Seguin's avatar Guillaume Seguin

Fix typo

parent 0cb7fd23
...@@ -420,7 +420,7 @@ class PronterWindow(MainWindow, pronsole.pronsole): ...@@ -420,7 +420,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
if self.display_graph: wx.CallAfter(self.graph.SetBedTargetTemperature, temp) if self.display_graph: wx.CallAfter(self.graph.SetBedTargetTemperature, temp)
elif gline.command.startswith("T"): elif gline.command.startswith("T"):
tool = gline.command[1:] tool = gline.command[1:]
if self.hasattr("extrudersel"): wx.CallAfter(self.extrudersel.SetValue, tool) if hasattr(self, "extrudersel"): wx.CallAfter(self.extrudersel.SetValue, tool)
else: else:
return return
self.sentlines.put_nowait(line) self.sentlines.put_nowait(line)
......
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