Skip to content

Commit fba973e

Browse files
authored
fix(color): logical switch list page crash (#6020)
1 parent 4f18632 commit fba973e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

radio/src/gui/colorlcd/model/model_logical_switches.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,8 @@ class LogicalSwitchButton : public ListLineButton
386386

387387
void checkEvents() override
388388
{
389+
if (!init) return;
390+
389391
ListLineButton::checkEvents();
390392
check(isActive());
391393

0 commit comments

Comments
 (0)