for lp:~tpeeters/+junk/lists I am trying to print the index of the list item for which an action was triggered, by adding
onTriggered: print("Action "+value)
value returns undefined if I don't set the parameterType of the Action to be Integer.
Can/Should we set the parameterType automatically? Or at least document that we should set it here? We can at least check that the parameterType is Integer, but I'm not sure what to do if it is not.
for lp:~tpeeters/+junk/lists I am trying to print the index of the list item for which an action was triggered, by adding
onTriggered: print("Action "+value)
value returns undefined if I don't set the parameterType of the Action to be Integer.
Can/Should we set the parameterType automatically? Or at least document that we should set it here? We can at least check that the parameterType is Integer, but I'm not sure what to do if it is not.