mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-24 08:43:29 -05:00
Add modified signals for entries.
This commit is contained in:
parent
73e1104442
commit
674909f635
4 changed files with 86 additions and 24 deletions
|
|
@ -304,7 +304,9 @@ void Group::addEntry(Entry *entry)
|
|||
|
||||
m_entries << entry;
|
||||
connect(entry, SIGNAL(dataChanged(Entry*)), SIGNAL(entryDataChanged(Entry*)));
|
||||
connect(entry, SIGNAL(modified()), this, SIGNAL(modified()));
|
||||
|
||||
Q_EMIT modified();
|
||||
Q_EMIT entryAdded();
|
||||
}
|
||||
|
||||
|
|
@ -314,7 +316,7 @@ void Group::removeEntry(Entry* entry)
|
|||
|
||||
entry->disconnect(this);
|
||||
m_entries.removeAll(entry);
|
||||
|
||||
Q_EMIT modified();
|
||||
Q_EMIT entryRemoved();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue