Skip to content

Commit 062d516

Browse files
authored
fix(color): widget option default values are not loaded on radio restart (#6051)
1 parent 78550ab commit 062d516

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

radio/src/gui/colorlcd/mainview/widget_settings.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ WidgetSettings::WidgetSettings(Widget* w) :
4949
FlexGridLayout grid(line_col_dsc, line_row_dsc, PAD_TINY);
5050

5151
uint8_t optIdx = 0;
52+
53+
widget->getFactory()->parseOptionDefaults();
5254
auto opt = widget->getOptionDefinitions();
5355

5456
while (opt && opt->name != nullptr) {

0 commit comments

Comments
 (0)