Commit 0e0a41be authored by Guillaume Seguin's avatar Guillaume Seguin

Add recover button to pronterface

parent f47e979f
...@@ -600,6 +600,10 @@ class PronterWindow(wx.Frame,pronsole.pronsole): ...@@ -600,6 +600,10 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
self.pausebtn.SetToolTip(wx.ToolTip("Pause Current Print")) self.pausebtn.SetToolTip(wx.ToolTip("Pause Current Print"))
self.pausebtn.Bind(wx.EVT_BUTTON,self.pause) self.pausebtn.Bind(wx.EVT_BUTTON,self.pause)
ubs.Add(self.pausebtn) ubs.Add(self.pausebtn)
self.recoverbtn=wx.Button(self.panel,-1,_("Recover"), size=buttonSize)
self.recoverbtn.SetToolTip(wx.ToolTip("Recover previous Print"))
self.recoverbtn.Bind(wx.EVT_BUTTON,self.recover)
ubs.Add(self.recoverbtn)
#Right full view #Right full view
lrs=self.lowerrsizer=wx.BoxSizer(wx.VERTICAL) lrs=self.lowerrsizer=wx.BoxSizer(wx.VERTICAL)
self.logbox=wx.TextCtrl(self.panel,style = wx.TE_MULTILINE,size=(350,-1)) self.logbox=wx.TextCtrl(self.panel,style = wx.TE_MULTILINE,size=(350,-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