summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-09-01 17:32:49 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-09-01 17:32:49 -0400
commit1d29037d8b3558a7ca1590e943d3a8f899db512d (patch)
tree7038a34411fc436206afcc91258a756edf604ece
parentf641a0cc9c09a9402d439d752788d16271e9424e (diff)
downloadmesecons-1d29037d8b3558a7ca1590e943d3a8f899db512d.tar
mesecons-1d29037d8b3558a7ca1590e943d3a8f899db512d.tar.gz
mesecons-1d29037d8b3558a7ca1590e943d3a8f899db512d.tar.bz2
mesecons-1d29037d8b3558a7ca1590e943d3a8f899db512d.tar.xz
mesecons-1d29037d8b3558a7ca1590e943d3a8f899db512d.zip
fix missing code display when after() is involved
-rw-r--r--mesecons_microcontroller/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_microcontroller/init.lua b/mesecons_microcontroller/init.lua
index 4aa65ad..24d98a1 100644
--- a/mesecons_microcontroller/init.lua
+++ b/mesecons_microcontroller/init.lua
@@ -426,7 +426,7 @@ function yc_command_after_execute(params)
if yc_parsecode(params.code, params.pos) == nil then
meta:set_string("infotext", "Code in after() not valid!")
else
- meta:set_string("infotext", "Working Microcontroller")
+ meta:set_string("infotext", "Working Microcontroller\n"..code)
end
end
end