This commit is contained in:
nuuls
2018-01-16 22:37:06 +01:00
parent 285c2e8688
commit 6f95a219a7
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ void TimestampElement::addToContainer(MessageLayoutContainer &container,
MessageElement::Flags _flags)
{
if (singletons::SettingManager::getInstance().timestampFormat != this->format) {
this->format = singletons::SettingManager::getInstance().timestampFormat;
this->format = singletons::SettingManager::getInstance().timestampFormat.getValue();
delete this->element;
this->element = TimestampElement::formatTime(this->time);
}