mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-05-03 21:33:57 -04:00
[AppManagement] Getting through previus windows by list
* removed first main window as first window in call app * moved window switching to application from window
This commit is contained in:
@@ -41,9 +41,9 @@ sys::Message_t ApplicationNotes::DataReceivedHandler(sys::DataMessage* msgl,sys:
|
||||
uint32_t msgType = resp->responseTo;
|
||||
switch( msgType ) {
|
||||
case static_cast<uint32_t>(MessageType::DBNotesGetLimitOffset): {
|
||||
if( currentWindow->onDatabaseMessage( resp ) )
|
||||
refreshWindow( gui::RefreshModes::GUI_REFRESH_FAST );
|
||||
}break;
|
||||
if (getCurrentWindow()->onDatabaseMessage(resp))
|
||||
refreshWindow(gui::RefreshModes::GUI_REFRESH_FAST);
|
||||
}break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,9 +62,9 @@ sys::ReturnCodes ApplicationNotes::InitHandler() {
|
||||
|
||||
createUserInterface();
|
||||
|
||||
setActiveWindow("MainWindow");
|
||||
setActiveWindow(gui::name::window::main_window);
|
||||
|
||||
return ret;
|
||||
return ret;
|
||||
}
|
||||
|
||||
sys::ReturnCodes ApplicationNotes::DeinitHandler() {
|
||||
|
||||
Reference in New Issue
Block a user