From db48158956568bd5ba64cfb7526811611de93a7a Mon Sep 17 00:00:00 2001 From: Andre Bernet Date: Fri, 7 Apr 2017 19:50:26 +0200 Subject: [PATCH] Main view index is now in model settings (fix #4761) --- radio/src/gui/212x64/view_main.cpp | 2 +- radio/src/gui/480x272/view_main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/radio/src/gui/212x64/view_main.cpp b/radio/src/gui/212x64/view_main.cpp index 7379165e7..197a40bf7 100644 --- a/radio/src/gui/212x64/view_main.cpp +++ b/radio/src/gui/212x64/view_main.cpp @@ -470,7 +470,7 @@ void menuMainView(event_t event) #endif case EVT_KEY_BREAK(KEY_PAGE): - storageDirty(EE_GENERAL); + storageDirty(EE_MODEL); g_model.view += 1; if (g_model.view >= VIEW_COUNT) { g_model.view = 0; diff --git a/radio/src/gui/480x272/view_main.cpp b/radio/src/gui/480x272/view_main.cpp index 123ba5824..5aadeaf10 100644 --- a/radio/src/gui/480x272/view_main.cpp +++ b/radio/src/gui/480x272/view_main.cpp @@ -180,7 +180,7 @@ bool menuMainView(event_t event) #elif defined(PCBX10) case EVT_KEY_BREAK(KEY_PGDN): #endif - storageDirty(EE_GENERAL); + storageDirty(EE_MODEL); g_model.view = circularIncDec(g_model.view, +1, 0, getMainViewsCount()-1); break; @@ -189,7 +189,7 @@ bool menuMainView(event_t event) case EVT_KEY_LONG(KEY_PGDN): #endif killEvents(event); - storageDirty(EE_GENERAL); + storageDirty(EE_MODEL); g_model.view = circularIncDec(g_model.view, -1, 0, getMainViewsCount()-1); break;