Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt
diff options
context:
space:
mode:
Diffstat (limited to 'TurtleArt')
-rw-r--r--TurtleArt/tawindow.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py
index e726c2a..9c5295c 100644
--- a/TurtleArt/tawindow.py
+++ b/TurtleArt/tawindow.py
@@ -1841,6 +1841,10 @@ class TurtleArtWindow():
elif argname == 'number' and \
(type(argvalue) is str or type(argvalue) is unicode):
argname = 'string'
+ elif argname == 'string' and \
+ name in block_styles['number-style-1strarg'] and \
+ type(argvalue) in [int, float]:
+ argname = 'number'
elif argname == 'bool':
argname = argvalue
elif argname == 'flow':