Add tags to history comparison

This commit is contained in:
Jonathan White 2022-03-24 22:55:11 -04:00
parent 44be95cc1b
commit 656e6161a0
2 changed files with 7 additions and 0 deletions

View File

@ -3679,6 +3679,10 @@ Error: %1</source>
<source>Auto-Type</source> <source>Auto-Type</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Tags</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>EntryModel</name> <name>EntryModel</name>

View File

@ -246,6 +246,9 @@ void EntryHistoryModel::calculateHistoryModifications()
|| curr->defaultAutoTypeSequence() != compare->defaultAutoTypeSequence()) { || curr->defaultAutoTypeSequence() != compare->defaultAutoTypeSequence()) {
modifiedFields << tr("Auto-Type"); modifiedFields << tr("Auto-Type");
} }
if (curr->tags() != compare->tags()) {
modifiedFields << tr("Tags");
}
m_historyModifications << modifiedFields.join(", "); m_historyModifications << modifiedFields.join(", ");