[GRASS-SVN] r35809 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 8 10:40:56 EST 2009


Author: martinl
Date: 2009-02-08 10:40:56 -0500 (Sun, 08 Feb 2009)
New Revision: 35809

Modified:
   grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py
Log:
wxGUI/nviz: fix trac #482


Modified: grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py	2009-02-08 15:24:16 UTC (rev 35808)
+++ grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py	2009-02-08 15:40:56 UTC (rev 35809)
@@ -1297,7 +1297,7 @@
                     if mapWin.IsLoaded(layer):
                         mapWin.UnloadVector(layer)
                     
-                    mapWin.LoadVector(mapLayer)
+                    mapWin.LoadVector(layer)
 
                 # reset view when first layer loaded
                 nlayers = len(mapWin.Map.GetListOfLayers(l_type=('raster', 'vector'),



More information about the grass-commit mailing list