glcdthemes: fix default values

Origin commit data
------------------
Commit: 08ecccff31
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-07-16 (Thu, 16 Jul 2020)

Origin message was:
------------------
- glcdthemes: fix default values
This commit is contained in:
vanhofen
2020-07-16 20:23:17 +02:00
parent b8dc0ecac3
commit 36d807bfc0

View File

@@ -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();