diff --git a/QnetGateway.cpp b/QnetGateway.cpp index 5b1ef28..bbb1757 100644 --- a/QnetGateway.cpp +++ b/QnetGateway.cpp @@ -346,7 +346,7 @@ bool CQnetGateway::ReadConfig(char *cfgFile) // dashboard path.assign("dash_"); cfg.GetValue(path+"show_order", estr, DASH_SHOW_ORDER, 2, 17); - showLastHeard = (std::string::npos == DASH_SHOW_ORDER.find("LH")); + showLastHeard = (std::string::npos != DASH_SHOW_ORDER.find("LH")); cfg.GetValue(path+"sql_filename", estr, DASH_SQL_NAME, 1, 32); return false; diff --git a/defaults b/defaults index 344fbca..25af934 100644 --- a/defaults +++ b/defaults @@ -219,4 +219,4 @@ timing_play_delay_d=19 # milliseconds between frames playback, if echo so dash_sql_filename_d='qn.db' # name for the sqlite database in the $CFGDIR directory dash_refresh_d=20 # seconds for the webpage to reload dash_lastheard_count_d=20 # maximum number of last heard entries to display -dash_show_order_d='LH,MO,SY,IP,PS,UR' # Show sections in this order +dash_show_order_d='MO,LH,SY,UR' # Show sections in this order, (not in default: IP and PS)