fix(color): crash if radio shut down on some menu pages (#5379)
This commit is contained in:
@@ -277,6 +277,8 @@ uint8_t TabsGroup::tabCount() const { return header->tabCount(); }
|
||||
|
||||
void TabsGroup::setCurrentTab(unsigned index)
|
||||
{
|
||||
if (deleted()) return;
|
||||
|
||||
header->setCurrentIndex(index);
|
||||
|
||||
PageTab* tab = header->pageTab(index);
|
||||
|
||||
Reference in New Issue
Block a user