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() {
if (this->parentMenu) {
this->parentMenu->prepareReenterMenu();
this->parentMenu->printMenu();
this->leaved = true;
}
+6 -2
View File
@@ -181,15 +181,19 @@ void MenuIntInput::no() {
this->values[i] = this->originalValues[i];
this->currentPosition = 0;
if (this->parentMenu)
if (this->parentMenu) {
this->parentMenu->prepareReenterMenu();
this->parentMenu->printMenu();
}
}
void MenuIntInput::yes() {
this->wrapper->action(this->values, this->length);
if (this->parentMenu && printParentMenu)
if (this->parentMenu && printParentMenu){
this->parentMenu->prepareReenterMenu();
this->parentMenu->printMenu();
}
}
void MenuIntInput::printMenu() {
char bufferName[17];