Commit 1b8aaff8 authored by Guillaume Seguin's avatar Guillaume Seguin

Remove toggleview() as Mini mode is gone anyway

parent 4d7fbea0
...@@ -716,21 +716,6 @@ class PronterWindow(MainWindow, pronsole.pronsole): ...@@ -716,21 +716,6 @@ class PronterWindow(MainWindow, pronsole.pronsole):
except: except:
pass pass
def toggleview(self, e):
if(self.mini):
self.mini = False
self.mainsizer.Fit(self)
#self.SetSize(winsize)
wx.CallAfter(self.minibtn.SetLabel, _("Mini mode"))
else:
self.mini = True
self.uppersizer.Fit(self)
#self.SetSize(winssize)
wx.CallAfter(self.minibtn.SetLabel, _("Full mode"))
def cbuttons_reload(self): def cbuttons_reload(self):
allcbs = [] allcbs = []
ubs = self.uppersizer ubs = self.uppersizer
......
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