Browse Source

revert https://trac.osgeo.org/grass/changeset/70239

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70274 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 8 years ago
parent
commit
8e3649b88e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/lmgr/layertree.py

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

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