mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
Fix remove friend from group
Fix missing update after creating a new group
This commit is contained in:
parent
75aaf134d2
commit
a432b94351
1 changed files with 2 additions and 1 deletions
|
@ -697,7 +697,7 @@ void NewFriendList::peerTreeWidgetCustomPopupMenu()
|
|||
mModel->getGroupData(parent,info);
|
||||
|
||||
QAction *removeFromGroup = groupsMenu->addAction(tr("Remove from group ")+QString::fromUtf8(info.name.c_str()));
|
||||
removeFromGroup->setData(parent.sibling(parent.row(),RsFriendListModel::COLUMN_THREAD_ID).data(Qt::DisplayRole));
|
||||
removeFromGroup->setData(QString::fromStdString(info.id.toStdString()));
|
||||
connect(removeFromGroup, SIGNAL(triggered()), this, SLOT(removeFromGroup()));
|
||||
}
|
||||
|
||||
|
@ -767,6 +767,7 @@ void NewFriendList::createNewGroup()
|
|||
{
|
||||
CreateGroup createGrpDialog (RsNodeGroupId(), this);
|
||||
createGrpDialog.exec();
|
||||
checkInternalData(true);
|
||||
}
|
||||
|
||||
#ifdef NOT_USED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue