New: refeta la lògica d'eixir o apagar el sistema
This commit is contained in:
@@ -263,13 +263,13 @@ void ServiceMenu::selectOption()
|
||||
else if (display_options_.at(selected_)->caption == lang::getText("[SERVICE_MENU] QUIT"))
|
||||
{
|
||||
section::name = section::Name::QUIT;
|
||||
section::options = section::Options::QUIT_WITH_KEYBOARD;
|
||||
section::options = section::Options::NONE;
|
||||
return;
|
||||
}
|
||||
else if (display_options_.at(selected_)->caption == lang::getText("[SERVICE_MENU] SHUTDOWN"))
|
||||
{
|
||||
section::name = section::Name::QUIT;
|
||||
section::options = section::Options::QUIT_WITH_CONTROLLER;
|
||||
section::options = section::Options::SHUTDOWN;
|
||||
return;
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user