Disconnect entry from database, when removed.
This commit is contained in:
committed by
Felix Geyer
parent
89f138a868
commit
34204f3281
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user