mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-27 07:47:03 -05:00
fixed removal of profiles from groupless list when the profile is in a group
This commit is contained in:
parent
9686fc5546
commit
9d696f56bc
@ -1020,6 +1020,9 @@ void RsFriendListModel::updateInternalData()
|
||||
e.group_index = i;
|
||||
|
||||
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->setFilterRegExp(QRegExp(QString(RsFriendListModel::FilterString))) ;// triggers a re-display.
|
||||
processSettings(false);
|
||||
}
|
||||
|
||||
void NewFriendList::changeEvent(QEvent *e)
|
||||
|
Loading…
x
Reference in New Issue
Block a user