From 9d696f56bcd423cf8aa6d835351940b1f29497d6 Mon Sep 17 00:00:00 2001 From: csoler Date: Thu, 15 Aug 2019 15:54:16 +0200 Subject: [PATCH] fixed removal of profiles from groupless list when the profile is in a group --- retroshare-gui/src/gui/common/FriendListModel.cpp | 3 +++ retroshare-gui/src/gui/common/NewFriendList.cpp | 1 + 2 files changed, 4 insertions(+) diff --git a/retroshare-gui/src/gui/common/FriendListModel.cpp b/retroshare-gui/src/gui/common/FriendListModel.cpp index 037faa372..cf7434475 100644 --- a/retroshare-gui/src/gui/common/FriendListModel.cpp +++ b/retroshare-gui/src/gui/common/FriendListModel.cpp @@ -1020,6 +1020,9 @@ void RsFriendListModel::updateInternalData() e.group_index = i; mTopLevel.push_back(e); + + for(uint32_t j=0;jsetSortByState(sort); mProxyModel->setFilterRegExp(QRegExp(QString(RsFriendListModel::FilterString))) ;// triggers a re-display. + processSettings(false); } void NewFriendList::changeEvent(QEvent *e)