summaryrefslogtreecommitdiffstats
path: root/apps/settings_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r--apps/settings_menu.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index 93c809d007..6a11e723b1 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -351,11 +351,14 @@ static bool flip_display(void)
*/
static bool invert_cursor(void)
{
- return set_bool_options(str(LANG_INVERT_CURSOR),
- &global_settings.invert_cursor,
+ bool type = global_settings.invert_cursor;
+ bool rc = set_bool_options(str(LANG_INVERT_CURSOR),
+ &type,
STR(LANG_INVERT_CURSOR_BAR),
STR(LANG_INVERT_CURSOR_POINTER),
NULL);
+ global_settings.invert_cursor = type;
+ return rc;
}
#ifdef HAVE_LCD_COLOR