Opened 11 years ago

Closed 10 years ago

#2257 closed defect (fixed)

Clicking on layer group in layer manager gives error

Reported by: wenzeslaus Owned by: grass-dev@…
Priority: minor Milestone: 7.0.0
Component: wxGUI Version: svn-trunk
Keywords: lmgr, layers, groups Cc:
CPU: Unspecified Platform: All

Description

  1. Add a layer group to layer list (Add group in Layer manager window)
  2. double click on the newly added (layer) group
  3. check error message in console
Traceback (most recent call last):
  File "/home/vasek/dev/grass/trunk_clang/dist.i686-pc-
linux-gnu/etc/gui/wxpython/lmgr/layertree.py", line 1227, in
OnActivateLayer

self.PropertiesDialog(layer)
  File "/home/vasek/dev/grass/trunk_clang/dist.i686-pc-
linux-gnu/etc/gui/wxpython/lmgr/layertree.py", line 1202, in
PropertiesDialog

cmd = [ltype2command[ltype]]
KeyError
:
'group'

I must confess that I actually don't know what is the right behavior and how groups work in general. (If I would know I would probably create feature request also for adding temporal dataset as a group to lmgr, by the way).

Change History (1)

comment:1 by annakrat, 10 years ago

Resolution: fixed
Status: newclosed

Fixed as part of layertree fixes in r62752 and backported.

Note: See TracTickets for help on using tickets.