[GRASS-SVN] r50512 - grass/branches/develbranch_6/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 28 04:49:16 EST 2012


Author: annakrat
Date: 2012-01-28 01:49:16 -0800 (Sat, 28 Jan 2012)
New Revision: 50512

Modified:
   grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py
Log:
wxGUI: fix layer order when loading from workspace

Modified: grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py	2012-01-28 09:46:59 UTC (rev 50511)
+++ grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py	2012-01-28 09:49:16 UTC (rev 50512)
@@ -925,10 +925,6 @@
                 maptree.layer_selected = layer
                 
         busy.Destroy()
-        
-        if maptree:
-            # reverse list of map layers
-            maptree.Map.ReverseListOfLayers()
             
         for idx, mdisp in enumerate(mapdisplay):
             mdisp.MapWindow2D.UpdateMap()



More information about the grass-commit mailing list