fix(color): radio may crash when long pressing ENTER key (#7537)

This commit is contained in:
philmoz
2026-07-10 13:29:04 +10:00
committed by GitHub
parent 33dc8de694
commit be74696c57
@@ -318,8 +318,8 @@ bool ViewMain::onLongPress()
{ {
if (isAppMode()) { if (isAppMode()) {
int view = getCurrentMainView(); int view = getCurrentMainView();
customScreens[view]->getWidget(0)->setFullscreen(true); if (customScreens[view]->getWidget(0))
killEvents(KEY_ENTER); customScreens[view]->getWidget(0)->setFullscreen(true);
} else { } else {
enableWidgetSelect(true); enableWidgetSelect(true);
} }