[GRASS-SVN] r66586 - grass/trunk/gui/wxpython/core
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Oct 23 11:41:10 PDT 2015
Author: annakrat
Date: 2015-10-23 11:41:10 -0700 (Fri, 23 Oct 2015)
New Revision: 66586
Modified:
grass/trunk/gui/wxpython/core/workspace.py
Log:
wxGUI: fix loading workspace on Windows when workspace was saved when map window is minimized
Modified: grass/trunk/gui/wxpython/core/workspace.py
===================================================================
--- grass/trunk/gui/wxpython/core/workspace.py 2015-10-23 10:24:44 UTC (rev 66585)
+++ grass/trunk/gui/wxpython/core/workspace.py 2015-10-23 18:41:10 UTC (rev 66586)
@@ -125,6 +125,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