Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tabasics.py
diff options
context:
space:
mode:
authorMarion <marion.zepf@gmail.com>2013-08-09 12:52:50 (GMT)
committer Marion <marion.zepf@gmail.com>2013-08-09 12:52:50 (GMT)
commit0eef2cd93a3442d418eb7d5b66a9372313a46252 (patch)
tree1bf0c5d686e27a11effa0587dbfd3bd1a76ffa6b /TurtleArt/tabasics.py
parent491c7fcdf7b19d7059bb4fa5ce240d4bab898a01 (diff)
parent1e42e4af48655e15d9628ff7fcb2822b94f5d677 (diff)
Merge branch 'update-heading-label' into primitive-class
- fix updating the heading label in snail execution mode
Diffstat (limited to 'TurtleArt/tabasics.py')
-rw-r--r--TurtleArt/tabasics.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/TurtleArt/tabasics.py b/TurtleArt/tabasics.py
index d6bf1f4..c7dbf41 100644
--- a/TurtleArt/tabasics.py
+++ b/TurtleArt/tabasics.py
@@ -1104,7 +1104,7 @@ variable'))
self.tw.coord_scale)
self.tw.lc.update_label_value(
'heading',
- self.tw.turtles.get_active_turtle().get_heading)
+ self.tw.turtles.get_active_turtle().get_heading())
def _prim_box(self, x):
''' Retrieve value from named box '''
@@ -1196,7 +1196,7 @@ variable'))
if self.tw.lc.update_values:
self.tw.lc.update_label_value(
'heading',
- self.tw.turtles.get_active_turtle().get_heading)
+ self.tw.turtles.get_active_turtle().get_heading())
def _prim_set(self, name, cmd, value=None):
''' Set a value and update the associated value blocks '''