mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Don't reset entry model if the same group is set.
This commit is contained in:
parent
746a535c7d
commit
f836629dda
@ -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…
Reference in New Issue
Block a user