Commit fa53fc90 authored by kliment's avatar kliment

Clear loaded part in gviz window when new part is loaded

parent 35c00f6d
...@@ -644,6 +644,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole): ...@@ -644,6 +644,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
def loadviz(self): def loadviz(self):
self.gviz.clear() self.gviz.clear()
self.gwindow.p.clear()
for i in self.f: for i in self.f:
self.gviz.addgcode(i) self.gviz.addgcode(i)
self.gwindow.p.addgcode(i) self.gwindow.p.addgcode(i)
......
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