diff --git a/src/gui/editors/displaytabs/groupembeddedlist.py b/src/gui/editors/displaytabs/groupembeddedlist.py index 0d110e260..9f61db11b 100644 --- a/src/gui/editors/displaytabs/groupembeddedlist.py +++ b/src/gui/editors/displaytabs/groupembeddedlist.py @@ -157,7 +157,13 @@ class GroupEmbeddedList(EmbeddedList): and decide if this is a move or a reorder. """ if sel_data and sel_data.data: - (mytype, selfid, obj, row_from) = pickle.loads(sel_data.data) + + # make sure data = 1 row + # pickle.loads(sel_data.data)[3] = 0 + try: + (mytype, selfid, obj, row_from) = pickle.loads(sel_data.data) + except ValueError: + return # make sure this is the correct DND type for this object if mytype == self._DND_TYPE.drag_type: