forked from IPKM/nmreval
Compare commits
1 Commits
master
...
csv_broken
Author | SHA1 | Date | |
---|---|---|---|
35e89176be |
@ -342,6 +342,9 @@ class DataTree(QtWidgets.QTreeWidget):
|
|||||||
_id = item.data(0, QtCore.Qt.UserRole)
|
_id = item.data(0, QtCore.Qt.UserRole)
|
||||||
if _id in ids:
|
if _id in ids:
|
||||||
try:
|
try:
|
||||||
|
if item.parent() is None:
|
||||||
|
raise AttributeError
|
||||||
|
|
||||||
idx = item.parent().indexOfChild(item)
|
idx = item.parent().indexOfChild(item)
|
||||||
item.parent().takeChild(idx)
|
item.parent().takeChild(idx)
|
||||||
if _id in self._checked_sets:
|
if _id in self._checked_sets:
|
||||||
|
Loading…
Reference in New Issue
Block a user