diff --git a/kivy/graphics/instructions.pyx b/kivy/graphics/instructions.pyx index 10e8ca3ba..12a3579d3 100644 --- a/kivy/graphics/instructions.pyx +++ b/kivy/graphics/instructions.pyx @@ -69,6 +69,8 @@ cdef class Instruction: self.set_parent(ig) cdef void rremove(self, InstructionGroup ig): + if self.parent is None: + return ig.children.remove(self) self.set_parent(None)