Do not set position of empty module to None when we're attempting to convert it to dummy

This commit is contained in:
DarkPhoenix
2019-04-18 13:00:32 +03:00
parent b70c1a7c6c
commit 7131cdbac6

View File

@@ -212,7 +212,7 @@ class HandledModuleList(HandledList):
dummy = mod.buildEmpty(mod.slot)
dummy.position = index
self[index] = dummy
mod.position = None
mod.position = None
def __toModule(self, index, mod):
oldMod = self[index]