mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-10-27 17:08:32 -04:00
EGD-2180 Issue with gui::ShowMode
This commit is contained in:
1 parent
d430ca6b14
commit
006bc3d129
34 files changed
+82
-75
No files matched your search
@@ -76,7 +76,7 @@ void SettingsMainWindow::buildInterface() {
|
||||
//add option language option
|
||||
options.push_back( addOptionLabel( utils::localize.get("app_settings_language"), [=](gui::Item&){
|
||||
LOG_INFO("switching to language page" );
|
||||
application->switchWindow("Languages", 0, nullptr );
|
||||
application->switchWindow( "Languages" );
|
||||
return true;} ));
|
||||
|
||||
//add option security option
|
||||
@@ -124,7 +124,7 @@ gui::Item* SettingsMainWindow::addOptionLabel( const std::string& text, std::fun
|
||||
}
|
||||
|
||||
|
||||
void SettingsMainWindow::onBeforeShow( ShowMode mode, uint32_t command, SwitchData* data ) {
|
||||
void SettingsMainWindow::onBeforeShow( ShowMode mode, SwitchData* data ) {
|
||||
setFocusItem( options[0] );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user