From 0a0583a17b826ce376ca35e16d4db568c81c739e Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Wed, 22 Sep 2010 10:48:23 +0000 Subject: fixed problem with expanding boolean (#2330) --- (limited to 'TurtleArt') diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py index a7851f3..c672412 100644 --- a/TurtleArt/tawindow.py +++ b/TurtleArt/tawindow.py @@ -1431,7 +1431,10 @@ class TurtleArtWindow(): self._run_stack(blk) return - self._expand_expandable(blk, blk.connections[1], dy) + if blk.name in BOOLEAN_STYLE: + self._expand_boolean(blk, blk.connections[1], dy) + else: + self._expand_expandable(blk, blk.connections[1], dy) # and restore it... if blk0 is not None: blk.connections[0] = blk0 -- cgit v0.9.1