diff --git a/src/neutrino.cpp b/src/neutrino.cpp index f31ec5d17..fc0a86546 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -661,6 +661,8 @@ int CNeutrinoApp::loadSetup(const char * fname) g_settings.bigFonts = configfile.getInt32("bigFonts", 0); g_settings.window_size = configfile.getInt32("window_size", 100); + g_settings.window_width = configfile.getInt32("window_width", g_settings.window_size); + g_settings.window_height = configfile.getInt32("window_height", g_settings.window_size); g_settings.remote_control_hardware = configfile.getInt32( "remote_control_hardware", CRCInput::RC_HW_COOLSTREAM); g_settings.audiochannel_up_down_enable = configfile.getBool("audiochannel_up_down_enable", false); @@ -1201,6 +1203,8 @@ void CNeutrinoApp::saveSetup(const char * fname) configfile.setInt32("bigFonts", g_settings.bigFonts); configfile.setInt32("window_size", g_settings.window_size); + configfile.setInt32("window_width", g_settings.window_width); + configfile.setInt32("window_height", g_settings.window_height); #ifdef BOXMODEL_APOLLO configfile.setInt32("brightness", g_settings.brightness ); configfile.setInt32("contrast", g_settings.contrast ); diff --git a/src/system/settings.h b/src/system/settings.h index 983d8354f..dcd43bb14 100644 --- a/src/system/settings.h +++ b/src/system/settings.h @@ -442,6 +442,8 @@ struct SNeutrinoSettings int pip_y; int bigFonts; int window_size; + int window_width; + int window_height; int eventlist_additional; int channellist_additional; int channellist_epgtext_align_right;