ups, killevents missing

This commit is contained in:
olliw42
2021-05-24 16:52:38 +02:00
committed by Raphael Coeffic
parent 6eb441d266
commit 6b0da2b9c5
+1
View File
@@ -170,6 +170,7 @@ void TabsGroup::onEvent(event_t event)
TRACE_WINDOWS("%s received event 0x%X", getWindowDebugString().c_str(), event);
if (event == EVT_KEY_BREAK(KEY_PGDN)) {
killEvents(event);
uint8_t current = header.carousel.getCurrentIndex() + 1;
setCurrentTab(current >= tabs.size() ? 0 : current);
}