auto-sync
This commit is contained in:
parent
46cdd5e1ea
commit
3741c65de9
|
@ -23,6 +23,9 @@ void MenuTree::init(MenuItem *first, int linesCount) {
|
|||
void MenuTree::enterSubMenu(void) {
|
||||
if (current->firstChild != NULL) {
|
||||
current = topVisible = current->firstChild;
|
||||
} else if (current->callback != NULL) {
|
||||
VoidCallback cb = current->callback;
|
||||
cb();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue