|
@@ -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:
|