[GRASS-SVN] r66626 - grass/branches/releasebranch_7_0/gui/wxpython/core
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Oct 27 19:37:58 PDT 2015
Author: annakrat
Date: 2015-10-27 19:37:58 -0700 (Tue, 27 Oct 2015)
New Revision: 66626
Modified:
grass/branches/releasebranch_7_0/gui/wxpython/core/workspace.py
Log:
wxGUI: fix loading workspace on Windows when workspace was saved when map window is minimized (merged from trunk, r66586)
Modified: grass/branches/releasebranch_7_0/gui/wxpython/core/workspace.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/core/workspace.py 2015-10-28 02:34:02 UTC (rev 66625)
+++ grass/branches/releasebranch_7_0/gui/wxpython/core/workspace.py 2015-10-28 02:37:58 UTC (rev 66626)
@@ -124,6 +124,11 @@
except:
pos = None
size = None
+ # this happens on Windows when mapwindow is minimized when saving workspace
+ else:
+ if posVal[0] == -32000:
+ pos = None
+ size = None
else:
pos = None
size = None
More information about the grass-commit
mailing list