mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-20 07:20:29 -04:00
Fix case of incorrect update to a Group's LastModificationTime
This commit is contained in:
parent
0d3a3e9df8
commit
2a287f6884
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue