mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix remove friend from group
Fix missing update after creating a new group
This commit is contained in:
parent
75aaf134d2
commit
a432b94351
@ -697,7 +697,7 @@ void NewFriendList::peerTreeWidgetCustomPopupMenu()
|
|||||||
mModel->getGroupData(parent,info);
|
mModel->getGroupData(parent,info);
|
||||||
|
|
||||||
QAction *removeFromGroup = groupsMenu->addAction(tr("Remove from group ")+QString::fromUtf8(info.name.c_str()));
|
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()));
|
connect(removeFromGroup, SIGNAL(triggered()), this, SLOT(removeFromGroup()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -767,6 +767,7 @@ void NewFriendList::createNewGroup()
|
|||||||
{
|
{
|
||||||
CreateGroup createGrpDialog (RsNodeGroupId(), this);
|
CreateGroup createGrpDialog (RsNodeGroupId(), this);
|
||||||
createGrpDialog.exec();
|
createGrpDialog.exec();
|
||||||
|
checkInternalData(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef NOT_USED
|
#ifdef NOT_USED
|
||||||
|
Loading…
Reference in New Issue
Block a user