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