EGD-2180 Issue with gui::ShowMode

This commit is contained in:
Alek
2019-10-15 23:11:02 +02:00
parent d430ca6b14
commit 006bc3d129
34 changed files with 82 additions and 75 deletions

View File

@@ -77,7 +77,7 @@ NotesMainWindow::~NotesMainWindow() {
destroyInterface();
}
void NotesMainWindow::onBeforeShow( ShowMode mode, uint32_t command, SwitchData* data ) {
void NotesMainWindow::onBeforeShow( ShowMode mode, SwitchData* data ) {
notesModel->clear();
notesModel->requestRecordsCount();
list->clear();
@@ -107,7 +107,7 @@ bool NotesMainWindow::onInput( const InputEvent& inputEvent ) {
return true;
}
else if( inputEvent.keyCode == KeyCode::KEY_LEFT ) {
application->switchWindow( "EditWindow", 0, nullptr );
application->switchWindow( "EditWindow" );
return true;
}