summaryrefslogtreecommitdiff
path: root/src/leap/baseapp/mainwindow.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-10-10 05:13:29 +0900
committerkali <kali@leap.se>2012-10-10 05:13:29 +0900
commitcf7ddd017f20ca4a3020628999562e9b3b82bd0b (patch)
treecdaf5ec012ee2b13811fe809d803ddddae27e38f /src/leap/baseapp/mainwindow.py
parent48792fa7c25530776b871098fd07b600bfc976ba (diff)
fix geometry saving for debug/regular mode.
Closes #732
Diffstat (limited to 'src/leap/baseapp/mainwindow.py')
-rw-r--r--src/leap/baseapp/mainwindow.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/leap/baseapp/mainwindow.py b/src/leap/baseapp/mainwindow.py
index 2348c27d..bbb5203c 100644
--- a/src/leap/baseapp/mainwindow.py
+++ b/src/leap/baseapp/mainwindow.py
@@ -50,8 +50,9 @@ class LeapWindow(QtGui.QMainWindow,
MainWindowMixin.__init__(self)
settings = QtCore.QSettings()
- # XXX geom_key = "DebugGeometry" if self.debugmode else "Geometry"
- #geom = settings.value(geom_key)
+
+ geom_key = "DebugGeometry" if self.debugmode else "Geometry"
+ geom = settings.value(geom_key)
geom = settings.value("Geometry")
if geom: