[GRASS-SVN] r70274 - grass/trunk/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jan 6 09:03:29 PST 2017


Author: martinl
Date: 2017-01-06 09:03:29 -0800 (Fri, 06 Jan 2017)
New Revision: 70274

Modified:
   grass/trunk/gui/wxpython/lmgr/layertree.py
Log:
revert r70239

Modified: grass/trunk/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/layertree.py	2017-01-06 16:54:02 UTC (rev 70273)
+++ grass/trunk/gui/wxpython/lmgr/layertree.py	2017-01-06 17:03:29 UTC (rev 70274)
@@ -502,7 +502,7 @@
                         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,



More information about the grass-commit mailing list