call prepareReenter in SpecialMenus

This commit is contained in:
2023-09-27 15:27:44 +02:00
parent 52c1fe25c8
commit f05ab56833
2 changed files with 7 additions and 2 deletions
+1
View File
@@ -39,6 +39,7 @@ void MenuInformationSites::right() {
void MenuInformationSites::left() { void MenuInformationSites::left() {
if (this->parentMenu) { if (this->parentMenu) {
this->parentMenu->prepareReenterMenu();
this->parentMenu->printMenu(); this->parentMenu->printMenu();
this->leaved = true; this->leaved = true;
} }
+6 -2
View File
@@ -181,14 +181,18 @@ void MenuIntInput::no() {
this->values[i] = this->originalValues[i]; this->values[i] = this->originalValues[i];
this->currentPosition = 0; this->currentPosition = 0;
if (this->parentMenu) if (this->parentMenu) {
this->parentMenu->prepareReenterMenu();
this->parentMenu->printMenu(); this->parentMenu->printMenu();
}
} }
void MenuIntInput::yes() { void MenuIntInput::yes() {
this->wrapper->action(this->values, this->length); this->wrapper->action(this->values, this->length);
if (this->parentMenu && printParentMenu) if (this->parentMenu && printParentMenu){
this->parentMenu->prepareReenterMenu();
this->parentMenu->printMenu(); this->parentMenu->printMenu();
}
} }
void MenuIntInput::printMenu() { void MenuIntInput::printMenu() {