Commit 2744d59f authored by Guillaume Seguin's avatar Guillaume Seguin

Fix minor bug

parent 1d793353
......@@ -126,7 +126,7 @@ class GcodeViewPanel(wxGLPanel):
glPopMatrix()
def double(self, event):
if self.parent.clickcb:
if hasattr(self.parent, "clickcb") and self.parent.clickcb:
self.parent.clickcb(event)
def move(self, event):
......
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