chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5037032
)
Don't save window size/pos on exit if minimized
author
smorloc
<smorloc@gmail.com>
Sat, 19 Jan 2013 02:40:19 +0000
(21:40 -0500)
committer
smorloc
<smorloc@gmail.com>
Sat, 19 Jan 2013 02:40:36 +0000
(21:40 -0500)
Cura/gui/mainWindow.py
patch
|
blob
|
history
diff --git
a/Cura/gui/mainWindow.py
b/Cura/gui/mainWindow.py
index 1a0d7d1694dc9216dfe44c0a9920b29d1c53636c..68aea1b427f98f4c0a75a9bc1a3a7d7e71163f2e 100644
(file)
--- a/
Cura/gui/mainWindow.py
+++ b/
Cura/gui/mainWindow.py
@@
-509,7
+509,7
@@
class mainWindow(wx.Frame):
# Save the window position, size & state from the preferences file
profile.putPreference('window_maximized', self.IsMaximized())
- if not self.IsMaximized():
+ if not self.IsMaximized()
and not self.IsIconized()
:
(posx, posy) = self.GetPosition()
profile.putPreference('window_pos_x', posx)
profile.putPreference('window_pos_y', posy)