From 25369a8734641c8dac17e400aa52235e2d76fc77 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 20 Apr 2015 23:18:11 -0400 Subject: Make sure to load the default value for the new datetimeorder session value (timeonly) if nothing was saved in the config file. --- lumina-config/mainUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lumina-config/mainUI.cpp') diff --git a/lumina-config/mainUI.cpp b/lumina-config/mainUI.cpp index b1a8e797..8f0a5ac7 100644 --- a/lumina-config/mainUI.cpp +++ b/lumina-config/mainUI.cpp @@ -1821,7 +1821,7 @@ void MainUI::loadSessionSettings(){ ui->push_session_setUserIcon->setIcon( LXDG::findIcon(QDir::homePath()+"/.loginIcon.png", "user-identity") ); ui->line_session_time->setText( sessionsettings->value("TimeFormat","").toString() ); ui->line_session_date->setText( sessionsettings->value("DateFormat","").toString() ); - index = ui->combo_session_datetimeorder->findData( sessionsettings->value("DateTimeOrder").toString() ); + index = ui->combo_session_datetimeorder->findData( sessionsettings->value("DateTimeOrder","timeonly").toString() ); ui->combo_session_datetimeorder->setCurrentIndex(index); if( !sessionsettings->value("CustomTimeZone", false).toBool() ){ //System Time selected -- cgit