Fix issues where we assume something can exist when it may not.
This commit is contained in:
@@ -408,6 +408,9 @@ class FittingView(d.Display):
|
||||
if mod1.slot != mod2.slot:
|
||||
return
|
||||
|
||||
if not getattr(mod2, "modPosition"):
|
||||
self.mods.modPosition = mod2.modPosition = dstRow
|
||||
|
||||
if clone and mod2.isEmpty:
|
||||
sFit.cloneModule(self.mainFrame.getActiveFit(), srcIdx, mod2.modPosition)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user