Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(generalform): call UI retranslation when date or time format changes
Browse files Browse the repository at this point in the history
Needed to update date and time display.
  • Loading branch information
a68366 committed Jul 7, 2016
1 parent 6030b08 commit d601599
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/widget/form/settings/generalform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -355,11 +355,13 @@ void GeneralForm::onEmoticonSizeChanged()
void GeneralForm::onTimestampSelected(int index)
{
Settings::getInstance().setTimestampFormat(timeFormats.at(index));
Translator::translate();
}

void GeneralForm::onDateFormatSelected(int index)
{
Settings::getInstance().setDateFormat(dateFormats.at(index));
Translator::translate();
}

void GeneralForm::onAutoAwayChanged()
Expand Down

0 comments on commit d601599

Please sign in to comment.