diff options
author | Ken Moore <ken@pcbsd.org> | 2015-04-20 23:18:11 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-04-20 23:18:11 -0400 |
commit | 25369a8734641c8dac17e400aa52235e2d76fc77 (patch) | |
tree | 8ea488419103864f376e623401b485747eececb6 /lumina-config/mainUI.cpp | |
parent | Add the ability to use percentages of the screen for panel sizes (%W for perc... (diff) | |
download | lumina-25369a8734641c8dac17e400aa52235e2d76fc77.tar.gz lumina-25369a8734641c8dac17e400aa52235e2d76fc77.tar.bz2 lumina-25369a8734641c8dac17e400aa52235e2d76fc77.zip |
Make sure to load the default value for the new datetimeorder session value (timeonly) if nothing was saved in the config file.
Diffstat (limited to 'lumina-config/mainUI.cpp')
-rw-r--r-- | lumina-config/mainUI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |