Explorar o código

wxGUI/lmgr: skip raster specific items on different types

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70278 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa %!s(int64=8) %!d(string=hai) anos
pai
achega
ac5c14a154
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gui/wxpython/lmgr/layertree.py

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

@@ -722,7 +722,7 @@ class LayerTree(treemixin.DragAndDrop, CT.CustomTreeCtrl):
             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: