diff options
author | kali <kali@leap.se> | 2012-10-10 05:13:29 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-10-10 05:13:29 +0900 |
commit | cf7ddd017f20ca4a3020628999562e9b3b82bd0b (patch) | |
tree | cdaf5ec012ee2b13811fe809d803ddddae27e38f /src/leap/baseapp/leap_app.py | |
parent | 48792fa7c25530776b871098fd07b600bfc976ba (diff) |
fix geometry saving for debug/regular mode.
Closes #732
Diffstat (limited to 'src/leap/baseapp/leap_app.py')
-rw-r--r-- | src/leap/baseapp/leap_app.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/baseapp/leap_app.py b/src/leap/baseapp/leap_app.py index f9eb3bb1..6ffb08a8 100644 --- a/src/leap/baseapp/leap_app.py +++ b/src/leap/baseapp/leap_app.py @@ -136,7 +136,8 @@ class MainWindowMixin(object): """ # save geometry for restoring settings = QtCore.QSettings() - settings.setValue("Geometry", self.saveGeometry()) + geom_key = "DebugGeometry" if self.debugmode else "Geometry" + settings.setValue(geom_key, self.saveGeometry()) # TODO:make sure to shutdown all child process / threads # in conductor |