EGD-2180 Issue with gui::ShowMode

This commit is contained in:
Alek committed 2019-10-15 23:18:02 +02:00
1 parent d430ca6b14
commit 006bc3d129
34 files changed
+82 -75

No files matched your search

@@ -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;
}