Przeglądaj źródła

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 lat temu
rodzic
commit
52fb99acbe
1 zmienionych plików z 1 dodań i 1 usunięć
  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,