Commit efa45a55 authored by Ioannis Papagiannopoulos's avatar Ioannis Papagiannopoulos Committed by Jérome Perrin

string fields within expandables are updated correctly

parent f706fdee
......@@ -131,7 +131,8 @@
default_value = properties_dict[sub_title].default;
// find previous value if any
if (gadget.props.options.value[prop_name]) {
if (gadget.props.options.value[prop_name][sub_title]) {
if (gadget.props.options.value[prop_name][sub_title] ||
gadget.props.options.value[prop_name][sub_title] === "") {
previous_value = gadget.props.options.value[prop_name][sub_title];
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment