Text: revisada la classe
window_message: correcions
This commit is contained in:
@@ -153,7 +153,7 @@ void ServiceMenu::selectOption() {
|
||||
current_settings_group_ = folder->getTargetGroup();
|
||||
selected_ = 0;
|
||||
updateMenu();
|
||||
} else if (selected_option->getBehavior() == MenuOption::Behavior::SELECT) {
|
||||
} else if (selected_option->getBehavior() == MenuOption::Behavior::SELECT or selected_option->getBehavior() == MenuOption::Behavior::BOTH) {
|
||||
selected_option->executeAction();
|
||||
}
|
||||
playSelectSound();
|
||||
@@ -554,7 +554,7 @@ void ServiceMenu::handleEvent(const SDL_Event &event) {
|
||||
}
|
||||
|
||||
// Procesar eventos normales del ServiceMenu
|
||||
switch (event.type) {
|
||||
/*switch (event.type) {
|
||||
case SDL_EVENT_KEY_DOWN:
|
||||
switch (event.key.key) {
|
||||
case SDLK_ESCAPE:
|
||||
@@ -611,5 +611,5 @@ void ServiceMenu::handleEvent(const SDL_Event &event) {
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
Reference in New Issue
Block a user