Commit f99f0f22 authored by Guillaume Seguin's avatar Guillaume Seguin

Unmaximization state was not correctly saved

parent 886799c0
......@@ -294,12 +294,10 @@ class PronterWindow(MainWindow, pronsole.pronsole):
size = self.GetClientSize()
self.set("last_window_width", size[0])
self.set("last_window_height", size[1])
self.settings.last_window_maximized = self.IsMaximized()
event.Skip()
def on_maximize(self, event):
self.set("last_window_maximized", self.IsMaximized())
event.Skip()
self.on_resize(event)
def on_exit(self, event):
self.Close()
......
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