mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-12 15:59:58 -05:00
Fix case of incorrect update to a Group's LastModificationTime
This commit is contained in:
parent
0d3a3e9df8
commit
2a287f6884
@ -1074,7 +1074,12 @@ void Group::cleanupParent()
|
||||
if (m_parent) {
|
||||
emit groupAboutToRemove(this);
|
||||
m_parent->m_children.removeAll(this);
|
||||
|
||||
bool prevUpdateTimeinfo = m_updateTimeinfo;
|
||||
m_updateTimeinfo = false; // prevent update of LastModificationTime
|
||||
emitModified();
|
||||
m_updateTimeinfo = prevUpdateTimeinfo;
|
||||
|
||||
emit groupRemoved();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user