From 6587bf3bae828b93980642e57a624247a45858ab Mon Sep 17 00:00:00 2001 From: livecodeali Date: Thu, 24 Sep 2015 14:02:06 +0100 Subject: [PATCH] [[ Bug 16009 ]] Menu arrays come from script, so default values must be strings --- extensions/widgets/paletteactions/notes/16009.md | 1 + extensions/widgets/paletteactions/paletteactions.lcb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 extensions/widgets/paletteactions/notes/16009.md diff --git a/extensions/widgets/paletteactions/notes/16009.md b/extensions/widgets/paletteactions/notes/16009.md new file mode 100644 index 00000000000..6afc5ebdf79 --- /dev/null +++ b/extensions/widgets/paletteactions/notes/16009.md @@ -0,0 +1 @@ +# [16009] Palette actions initial menu causes error when popping up \ No newline at end of file diff --git a/extensions/widgets/paletteactions/paletteactions.lcb b/extensions/widgets/paletteactions/paletteactions.lcb index bc4f2476918..ddd7cefaf21 100644 --- a/extensions/widgets/paletteactions/paletteactions.lcb +++ b/extensions/widgets/paletteactions/paletteactions.lcb @@ -100,7 +100,7 @@ public handler OnCreate() put tCount formatted as string into tKey put the empty array into tMenuItem[tKey] put "Choice" && tKey into tMenuItem[tKey]["label"] - put false into tMenuItem[tKey]["checked"] + put "false" into tMenuItem[tKey]["checked"] put "" into tMenuItem[tKey]["name"] put "" into tMenuItem[tKey]["menu"] put tMenuItem[tKey] into tAction["menu"][tKey]