fix(color): logical switch list page crash (#6020)
This commit is contained in:
@@ -386,6 +386,8 @@ class LogicalSwitchButton : public ListLineButton
|
|||||||
|
|
||||||
void checkEvents() override
|
void checkEvents() override
|
||||||
{
|
{
|
||||||
|
if (!init) return;
|
||||||
|
|
||||||
ListLineButton::checkEvents();
|
ListLineButton::checkEvents();
|
||||||
check(isActive());
|
check(isActive());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user