소스 검색

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,