瀏覽代碼

wxGUI/lmgr: zoom/set computation region make sense also for different map types (typically raster & vector)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70239 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 8 年之前
父節點
當前提交
52fb99acbe
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/lmgr/layertree.py

+ 1 - 1
gui/wxpython/lmgr/layertree.py

@@ -501,7 +501,7 @@ class LayerTree(treemixin.DragAndDrop, CT.CustomTreeCtrl):
                         self.OnNvizProperties,
                         id=self.popupID['nviz'])
 
-            if same and ltype in ('raster', 'vector', 'rgb', 'raster_3d'):
+            if ltype in ('raster', 'vector', 'rgb', 'raster_3d'):
                 self.popupMenu.AppendSeparator()
                 item = wx.MenuItem(
                     self.popupMenu,