mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-03 11:54:30 -04:00
fixed removal of profiles from groupless list when the profile is in a group
This commit is contained in:
parent
9686fc5546
commit
9d696f56bc
2 changed files with 4 additions and 0 deletions
|
@ -1020,6 +1020,9 @@ void RsFriendListModel::updateInternalData()
|
||||||
e.group_index = i;
|
e.group_index = i;
|
||||||
|
|
||||||
mTopLevel.push_back(e);
|
mTopLevel.push_back(e);
|
||||||
|
|
||||||
|
for(uint32_t j=0;j<mGroups[i].child_profile_indices.size();++j)
|
||||||
|
already_in_a_group.insert(mProfiles[mGroups[i].child_profile_indices[j]].profile_info.gpg_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -408,6 +408,7 @@ void NewFriendList::toggleSortByState(bool sort)
|
||||||
{
|
{
|
||||||
mProxyModel->setSortByState(sort);
|
mProxyModel->setSortByState(sort);
|
||||||
mProxyModel->setFilterRegExp(QRegExp(QString(RsFriendListModel::FilterString))) ;// triggers a re-display.
|
mProxyModel->setFilterRegExp(QRegExp(QString(RsFriendListModel::FilterString))) ;// triggers a re-display.
|
||||||
|
processSettings(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void NewFriendList::changeEvent(QEvent *e)
|
void NewFriendList::changeEvent(QEvent *e)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue