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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jan 6 09:32:10 PST 2017


Author: martinl
Date: 2017-01-06 09:32:10 -0800 (Fri, 06 Jan 2017)
New Revision: 70278

Modified:
   grass/trunk/gui/wxpython/lmgr/layertree.py
Log:
wxGUI/lmgr: skip raster specific items on different types

Modified: grass/trunk/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/layertree.py	2017-01-06 17:30:27 UTC (rev 70277)
+++ grass/trunk/gui/wxpython/lmgr/layertree.py	2017-01-06 17:32:10 UTC (rev 70278)
@@ -722,7 +722,7 @@
             self.Bind(wx.EVT_MENU, self.OnMetadata, id=self.popupID['meta'])
 
         # raster layers (specific items)
-        elif ltype and ltype == "raster":
+        elif same and ltype and ltype == "raster":
             self.popupMenu.AppendSeparator()
 
             if numSelected == 1:



More information about the grass-commit mailing list