Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tawindow.py
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2010-10-08 16:43:46 (GMT)
committer Walter Bender <walter@sugarlabs.org>2010-10-08 16:43:46 (GMT)
commit4ec675599e993f9724a6fae307716ddb810bbf80 (patch)
tree7d9928ad16d5ea4225b384fdaf49ea7f52f80cb0 /TurtleArt/tawindow.py
parent36a8e661c8e573ebb73508379d9873d4a7b6f3e7 (diff)
excluding proto blocks from keyboard commands re #2426
Diffstat (limited to 'TurtleArt/tawindow.py')
-rw-r--r--TurtleArt/tawindow.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py
index 9928334..2b0abc8 100644
--- a/TurtleArt/tawindow.py
+++ b/TurtleArt/tawindow.py
@@ -1820,7 +1820,8 @@ class TurtleArtWindow():
self.selected_blk.resize()
return True
# Otherwise, use keyboard input to move blocks or turtles
- else:
+ # but not proto blocks
+ elif self.selected_blk.name != 'proto':
self._process_keyboard_commands(keyname)
if self.selected_blk is None:
return False