Commit 76818fc0 authored by kliment's avatar kliment

Fix crash on new file load

parent 61af573e
......@@ -61,10 +61,7 @@ class gviz(wx.Panel):
self.layerindex=0
self.showall=0
self.dirty=1
self.blitmap=wx.EmptyBitmap(self.GetClientSize()[0],self.GetClientSize()[1],-1)
self.repaint()
#self.repaint()
def layerup(self):
if(self.layerindex+1<len(self.layers)):
self.layerindex+=1
......
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