Commit c4dc0d2f authored by Guillaume Seguin's avatar Guillaume Seguin

Woops, don't revert what we just gained :)

parent 775afa8f
...@@ -295,7 +295,7 @@ class PronterWindow(MainWindow, pronsole.pronsole): ...@@ -295,7 +295,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
maximized = self.IsMaximized() maximized = self.IsMaximized()
self.set("last_window_maximized", maximized) self.set("last_window_maximized", maximized)
if not maximized and not self.IsIconized(): if not maximized and not self.IsIconized():
size = self.GetClientSize() size = self.GetSize()
self.set("last_window_width", size[0]) self.set("last_window_width", size[0])
self.set("last_window_height", size[1]) self.set("last_window_height", size[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