[GRASS-SVN] r70275 - grass/branches/releasebranch_7_2/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jan 6 09:04:53 PST 2017


Author: martinl
Date: 2017-01-06 09:04:53 -0800 (Fri, 06 Jan 2017)
New Revision: 70275

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

Modified: grass/branches/releasebranch_7_2/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/lmgr/layertree.py	2017-01-06 17:03:29 UTC (rev 70274)
+++ grass/branches/releasebranch_7_2/gui/wxpython/lmgr/layertree.py	2017-01-06 17:04:53 UTC (rev 70275)
@@ -501,7 +501,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