Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wxGUI/lmgr: fix add group layer during vector map editing #1109

Merged

Conversation

tmszi
Copy link
Member

@tmszi tmszi commented Nov 21, 2020

To Reproduce:

Steps to reproduce the behavior:

  1. Launch wxGUI
  2. Display vector map e.g. d.vect census
  3. Start editing census vector map
  4. Add group layer

Error message:

Traceback (most recent call last):
  File "/usr/lib64/grass79/gui/wxpython/lmgr/layertree.py",
line 1844, in OnChangeSel

elif bgmap == mapLayer.GetName():
AttributeError
:
'NoneType' object has no attribute 'GetName'

@tmszi tmszi added bug Something isn't working GUI wxGUI related labels Nov 21, 2020
@tmszi tmszi merged commit b7bfe26 into OSGeo:master Dec 3, 2020
@tmszi tmszi deleted the fix-lmgr-add-group-layer-during-vector-editing branch December 3, 2020 04:49
@neteler neteler added this to the 7.8.5 milestone Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working GUI wxGUI related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants