fix(color): channel monitor crash when changing from logical switch view (#5740)

This commit is contained in:
philmoz
2024-12-28 10:00:04 +10:00
committed by GitHub
parent 47cba2211f
commit 8b1e9c9e5d
@@ -106,6 +106,8 @@ class LogicalSwitchDisplayFooter : public Window
void refresh()
{
if (deleted()) return;
LogicalSwitchData* ls = lswAddress(lsIndex);
uint8_t lsFamily = lswFamily(ls->func);