Explorar o código

wxGUI/nviz: fix trac https://trac.osgeo.org/grass/ticket/482

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@35809 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa %!s(int64=16) %!d(string=hai) anos
pai
achega
9243969168
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gui/wxpython/gui_modules/wxgui_utils.py

+ 1 - 1
gui/wxpython/gui_modules/wxgui_utils.py

@@ -1297,7 +1297,7 @@ class LayerTree(treemixin.DragAndDrop, CT.CustomTreeCtrl):
                     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'),