Commit e540a9e7 authored by Michael Büsch's avatar Michael Büsch

fup: Avoid sticking an operand to an operand by related element mechanism

Signed-off-by: Michael Büsch's avatarMichael Buesch <>
parent 436cac3a
......@@ -225,6 +225,8 @@ class FupElem(FupBaseClass):
is a close operand.
from awlsim.gui.fup.fup_elemoperand import FupElem_OPERAND
if isinstance(self, FupElem_OPERAND):
return False
if isinstance(otherElem, FupElem_OPERAND):
if otherElem.y >= self.y and\
otherElem.y < self.y + self.height:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment