fix(color): widget option default values are not loaded on radio restart (#6051)
This commit is contained in:
@@ -49,6 +49,8 @@ WidgetSettings::WidgetSettings(Widget* w) :
|
|||||||
FlexGridLayout grid(line_col_dsc, line_row_dsc, PAD_TINY);
|
FlexGridLayout grid(line_col_dsc, line_row_dsc, PAD_TINY);
|
||||||
|
|
||||||
uint8_t optIdx = 0;
|
uint8_t optIdx = 0;
|
||||||
|
|
||||||
|
widget->getFactory()->parseOptionDefaults();
|
||||||
auto opt = widget->getOptionDefinitions();
|
auto opt = widget->getOptionDefinitions();
|
||||||
|
|
||||||
while (opt && opt->name != nullptr) {
|
while (opt && opt->name != nullptr) {
|
||||||
|
|||||||
Reference in New Issue
Block a user