Fixed stopIndex in cRecMenu::JumpBegin

This commit is contained in:
kamel5 2020-03-05 15:18:48 +01:00
parent f653594c4a
commit 7ec89bf12b

View File

@ -441,7 +441,7 @@ void cRecMenu::JumpBegin(void) {
CreatePixmap(); CreatePixmap();
Arrange(false); Arrange(false);
startIndex = 0; startIndex = 0;
stopIndex = numItems - 1; stopIndex = currentItem;
cRecMenuItem *first = menuItems.front(); cRecMenuItem *first = menuItems.front();
first->setActive(); first->setActive();
first->setBackground(); first->setBackground();