From 36d807bfc0e7d0a9775db9718efd4242aa0ce89d Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 16 Jul 2020 20:23:17 +0200 Subject: [PATCH] glcdthemes: fix default values Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/08ecccff31af17e2b12a89c3024bd8ac87d5191c Author: vanhofen Date: 2020-07-16 (Thu, 16 Jul 2020) Origin message was: ------------------ - glcdthemes: fix default values --- src/gui/glcdthemes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/glcdthemes.cpp b/src/gui/glcdthemes.cpp index f65cb2843..f6147f69a 100644 --- a/src/gui/glcdthemes.cpp +++ b/src/gui/glcdthemes.cpp @@ -425,7 +425,7 @@ void CGLCDThemes::getTheme(CConfigFile &configfile) t.glcd_standby_weather_curr_x_position = configfile.getInt32("glcd_standby_weather_curr_x_position", 0); t.glcd_standby_weather_next_x_position = configfile.getInt32("glcd_standby_weather_next_x_position", 0); t.glcd_standby_weather_y_position = configfile.getInt32("glcd_standby_weather_y_position", 0); - t.glcd_position_settings = configfile.getInt32("glcd_position_settings", 0); + t.glcd_position_settings = configfile.getInt32("glcd_position_settings", 1); if (g_settings.glcd_theme_name.empty()) applyDefaultTheme();