Branch: Tag:

2016-06-01

2016-06-01 14:30:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Variable.ModuleChoice: Detect reloaded modules in multiselect mode.

Fixes [bug 7701 (#7701)].

1584:    RoxenModule|array(RoxenModule) query()    {    array(RoxenModule)|RoxenModule res = changed_values[_id]; -  if (!res) { +  if (!res || (multiselect && has_value(res, 0))) {    if (module_id) {    // The module might have been reloaded.    // Try locating it again.