mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Add missing check for group database.
This commit is contained in:
parent
82f1cbb3c9
commit
cc426d2453
@ -359,7 +359,7 @@ void Entry::setGroup(Group* group)
|
||||
{
|
||||
if (m_group) {
|
||||
m_group->removeEntry(this);
|
||||
if (m_group->database() != group->database()) {
|
||||
if (m_group->database() != group->database() && m_group->database()) {
|
||||
m_group->database()->addDeletedObject(m_uuid);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user