瀏覽代碼

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 16 年之前
父節點
當前提交
9243969168
共有 1 個文件被更改,包括 1 次插入1 次删除
  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'),