diff options
Diffstat (limited to 'common/Util/Block.py')
-rw-r--r-- | common/Util/Block.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/Util/Block.py b/common/Util/Block.py index 9b1abea..b1395b8 100644 --- a/common/Util/Block.py +++ b/common/Util/Block.py @@ -569,6 +569,8 @@ class Loop(Block): self.owner.getLoopImage( self.data["id"], True ) ] def destroy( self ): + if self.active: + self.owner.deactivateLoop( self ) if self.keyActive: self.owner.mapKey( None, self, self.data["key"] ) self.owner.noteDB.deletePages( [ self.data["id"] ] ) |