mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-12 16:15:43 -04:00
fixed update of circle name in the GUI
This commit is contained in:
parent
4e0ee29d6a
commit
526a83a303
2 changed files with 18 additions and 2 deletions
|
@ -395,6 +395,12 @@ void IdDialog::loadCircleGroupMeta(const uint32_t &token)
|
|||
++vit ;
|
||||
continue ;
|
||||
}
|
||||
if(item->text(CIRCLEGROUP_CIRCLE_COL_GROUPNAME) != QString::fromUtf8(vit->mGroupName.c_str()))
|
||||
{
|
||||
std::cerr << " Existing group has a new name. Updating it in the tree." << std::endl;
|
||||
item->setText(CIRCLEGROUP_CIRCLE_COL_GROUPNAME, QString::fromUtf8(vit->mGroupName.c_str()));
|
||||
}
|
||||
|
||||
// the item is at the right place. Just remove it from the list of items to add.
|
||||
std::cerr << " item already in place. Removing from list." << std::endl;
|
||||
vit = groupInfo.erase(vit) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue