浏览代码

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 年之前
父节点
当前提交
8e3649b88e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,