mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-03 20:14:17 -04:00
Disconnect entry from database, when removed.
This commit is contained in:
parent
89f138a868
commit
34204f3281
2 changed files with 6 additions and 0 deletions
|
@ -323,6 +323,7 @@ void Group::removeEntry(Entry* entry)
|
|||
Q_EMIT entryAboutToRemove(entry);
|
||||
|
||||
entry->disconnect(this);
|
||||
entry->disconnect(m_db);
|
||||
m_entries.removeAll(entry);
|
||||
Q_EMIT modified();
|
||||
Q_EMIT entryRemoved();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue