[GRASS-SVN] r50511 - grass/branches/releasebranch_6_4/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 28 04:47:00 EST 2012


Author: annakrat
Date: 2012-01-28 01:46:59 -0800 (Sat, 28 Jan 2012)
New Revision: 50511

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py
Log:
wxGUI: fix layer order when loading from workspace

Modified: grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py	2012-01-28 09:32:32 UTC (rev 50510)
+++ grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py	2012-01-28 09:46:59 UTC (rev 50511)
@@ -823,10 +823,6 @@
                 maptree.layer_selected = layer
                 
         busy.Destroy()
-        
-        if maptree:
-            # reverse list of map layers
-            maptree.Map.ReverseListOfLayers()
             
         for mdisp in mapdisplay:
             mdisp.MapWindow2D.UpdateMap()



More information about the grass-commit mailing list