Make sure our handled lists are not sorted

Because we rely on item positions within lists to identify modules for undo/redo stuff
This commit is contained in:
DarkPhoenix
2019-04-13 02:46:54 +03:00
parent c997661f3a
commit aa9f16d3ad
6 changed files with 12 additions and 4 deletions

View File

@@ -115,6 +115,9 @@ class HandledList(list):
thing.itemID = 0
list.remove(self, thing)
def sort(self, *args, **kwargs):
raise NotImplementedError
class HandledModuleList(HandledList):