mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-14 10:39:35 -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)
|
void EntryModel::setGroup(Group* group)
|
||||||
{
|
{
|
||||||
|
if (group == m_group) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
beginResetModel();
|
beginResetModel();
|
||||||
|
|
||||||
if (m_group) {
|
if (m_group) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue