G-Node / G-Node/odml-ui

Error on Property reordering

Open
#142 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
3
Forks
8
PR merge metrics
No merged PRs in 30d

Description

When trying to reorder the Properties of a Section, either a background error (a) or an error with a message (b) occurs:

- [ ] (a)
```
Traceback (most recent call last):
File "/home/msonntag/Chaos/work/odml-ui/odmlui/DragProvider.py", line 138, in _on_drag_get_data
selection.set(target_atom, 8, data.encode())
AttributeError: 'NoneType' object has no attribute 'encode'
```

- [ ] (b) `Editing failed: 'Property' object has no attibute 'reorder'.`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.