Browse Source

Jump to Add Friend form when quitting groupchat

Fixes part of #579
pull/580/head
Tux3 / Mlkj / !Lev.uXFMLA 11 years ago
parent
commit
aabb656733
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 3
      src/widget/widget.cpp

3
src/widget/widget.cpp

@ -892,7 +892,10 @@ void Widget::removeGroup(Group* g) @@ -892,7 +892,10 @@ void Widget::removeGroup(Group* g)
{
g->widget->setAsInactiveChatroom();
if (static_cast<GenericChatroomWidget*>(g->widget) == activeChatroomWidget)
{
activeChatroomWidget = nullptr;
onAddClicked();
}
GroupList::removeGroup(g->groupId);
core->removeGroup(g->groupId);
delete g;

Loading…
Cancel
Save