Commit f4cbf671 authored by Guillaume Seguin's avatar Guillaume Seguin

Fix typo

parent 0cb7fd23
......@@ -420,7 +420,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
if self.display_graph: wx.CallAfter(self.graph.SetBedTargetTemperature, temp)
elif gline.command.startswith("T"):
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:
return
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