neutrino.cpp: add channellist_numeric_adjust settings variable

This commit is contained in:
[CST] Focus
2013-04-01 14:13:51 +04:00
parent c70f94e89b
commit b1d63cd800
2 changed files with 3 additions and 0 deletions

View File

@@ -623,6 +623,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
g_settings.channellist_foot = configfile.getInt32("channellist_foot" , 1);//default next Event
g_settings.channellist_new_zap_mode = configfile.getInt32("channellist_new_zap_mode", 1);
g_settings.channellist_sort_mode = configfile.getInt32("channellist_sort_mode", 0);//sort mode: alpha, freq, sat
g_settings.channellist_numeric_adjust = configfile.getInt32("channellist_numeric_adjust", 0);
//screen configuration
g_settings.screen_xres = configfile.getInt32("screen_xres", 100);
@@ -1060,6 +1061,7 @@ void CNeutrinoApp::saveSetup(const char * fname)
configfile.setInt32("remote_control_hardware", g_settings.remote_control_hardware);
configfile.setBool ( "audiochannel_up_down_enable", g_settings.audiochannel_up_down_enable );
configfile.setInt32("channellist_sort_mode", g_settings.channellist_sort_mode);
configfile.setInt32("channellist_numeric_adjust", g_settings.channellist_numeric_adjust);
//screen configuration
configfile.setInt32( "screen_xres", g_settings.screen_xres);