mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(generalform): call UI retranslation when date or time format changes
Needed to update date and time display.
This commit is contained in:
parent
6030b083b1
commit
d601599de8
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user