Commit d05a3996 authored by Kliment Yanev's avatar Kliment Yanev

Fix bug where second and subsequent file load would cause an error and refuse...

Fix bug where second and subsequent file load would cause an error and refuse to load further files. Closes #102
parent 03f727aa
...@@ -1262,7 +1262,8 @@ class PronterWindow(wx.Frame,pronsole.pronsole): ...@@ -1262,7 +1262,8 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
except: except:
self.filename=fn self.filename=fn
wx.CallAfter(self.loadbtn.SetLabel,_("Load File")) wx.CallAfter(self.loadbtn.SetLabel,_("Load File"))
wx.CallAfter(self.status.SetStatusText,_("Slicing cancelled.")) self.skeining=0
self.skeinp=None
def skein(self,filename): def skein(self,filename):
......
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