mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-02 11:36:18 -04:00
Don't reset entry model if the same group is set.
This commit is contained in:
parent
746a535c7d
commit
f836629dda
1 changed files with 4 additions and 0 deletions
|
@ -44,6 +44,10 @@ QModelIndex EntryModel::indexFromEntry(Entry* entry) const
|
|||
|
||||
void EntryModel::setGroup(Group* group)
|
||||
{
|
||||
if (group == m_group) {
|
||||
return;
|
||||
}
|
||||
|
||||
beginResetModel();
|
||||
|
||||
if (m_group) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue