Commit 0914dd1f authored by Guillaume Seguin's avatar Guillaume Seguin

Refresh view after hitting "only current" (C) key in gcview

parent 38bd6f99
......@@ -224,6 +224,7 @@ class GcodeViewPanel(wxGLPanel):
if not self.parent.model or not self.parent.model.loaded:
return
self.parent.model.only_current = not self.parent.model.only_current
wx.CallAfter(self.Refresh)
if key in kreset:
self.resetview()
event.Skip()
......
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