Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt
diff options
context:
space:
mode:
authorWalter 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)
commit5bc53fb5a2ee97961ade0fcf5fa02c5b485142b7 (patch)
tree11843f11d6c3ec286c5f233f5ff0a881b5985eab /TurtleArt
parent0104c655ed50b39ced3433d0091278376a64037c (diff)
only rename storein when modifying connection 1
Diffstat (limited to 'TurtleArt')
-rw-r--r--TurtleArt/tawindow.py5
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