summaryrefslogtreecommitdiffstats
path: root/apps/settings/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/main.cpp')
-rw-r--r--apps/settings/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings/main.cpp b/apps/settings/main.cpp
index 78be3e2..c69381b 100644
--- a/apps/settings/main.cpp
+++ b/apps/settings/main.cpp
@@ -38,8 +38,9 @@ namespace app_settings {
datetime_t datetime;
app_api->datetime_get(&datetime);
+ int choice = 0;
while (true) {
- int choice = app_api->gui_popup_strchoice(SET0_NAME, SET0_DESC, choices, 8);
+ choice = app_api->gui_popup_strchoice(SET0_NAME, SET0_DESC, choices, 8, 0, -1, choice);
min_value = 0;
switch (choice) {