fix(color): channel monitor crash when changing from logical switch view (#5740)
This commit is contained in:
@@ -106,6 +106,8 @@ class LogicalSwitchDisplayFooter : public Window
|
|||||||
|
|
||||||
void refresh()
|
void refresh()
|
||||||
{
|
{
|
||||||
|
if (deleted()) return;
|
||||||
|
|
||||||
LogicalSwitchData* ls = lswAddress(lsIndex);
|
LogicalSwitchData* ls = lswAddress(lsIndex);
|
||||||
uint8_t lsFamily = lswFamily(ls->func);
|
uint8_t lsFamily = lswFamily(ls->func);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user