added function for avoid print parentmenu

This commit is contained in:
2023-01-04 02:30:43 +01:00
parent bc7379ae7e
commit 2154e3d012
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ void MenuIntInput::no() {
void MenuIntInput::yes() {
this->wrapper->action(this->values, this->length);
if (this->parentMenu)
if (this->parentMenu && printParentMenu)
this->parentMenu->printMenu();
}