mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Make save order for deleted objects consistent.
This commit is contained in:
parent
baed7d76cf
commit
222abe09d9
@ -426,8 +426,6 @@ void Group::cleanupParent()
|
||||
void Group::recCreateDelObjects()
|
||||
{
|
||||
if (m_db) {
|
||||
m_db->addDeletedObject(m_uuid);
|
||||
|
||||
Q_FOREACH (Entry* entry, m_entries) {
|
||||
m_db->addDeletedObject(entry->uuid());
|
||||
}
|
||||
@ -435,5 +433,6 @@ void Group::recCreateDelObjects()
|
||||
Q_FOREACH (Group* group, m_children) {
|
||||
group->recCreateDelObjects();
|
||||
}
|
||||
m_db->addDeletedObject(m_uuid);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user