diff options
author | Walter Bender <walter.bender@gmail.com> | 2012-09-01 08:51:29 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2012-09-01 08:51:29 (GMT) |
commit | 5bc53fb5a2ee97961ade0fcf5fa02c5b485142b7 (patch) | |
tree | 11843f11d6c3ec286c5f233f5ff0a881b5985eab | |
parent | 0104c655ed50b39ced3433d0091278376a64037c (diff) |
only rename storein when modifying connection 1
-rw-r--r-- | TurtleArt/tawindow.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py index a8b23fa..dcb43a5 100644 --- a/TurtleArt/tawindow.py +++ b/TurtleArt/tawindow.py @@ -1564,7 +1564,10 @@ class TurtleArtWindow(): if blk.connections[0] is None: return False if storein and blk.connections[0].name == 'storein': - return True + if blk.connections[0].connections[1] == blk: + return True + else: + return False if not storein and blk.connections[0].name == 'box': return True return False |