call prepareReenter in SpecialMenus
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user