Set the active lobby tree item in the tree when activating the lobby from the toaster.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6629 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2013-08-27 15:26:11 +00:00
parent e99b202b51
commit 5155c99296

View File

@ -250,6 +250,13 @@ void ChatLobbyWidget::addChatPage(ChatLobbyDialog *d)
void ChatLobbyWidget::setCurrentChatPage(ChatLobbyDialog *d)
{
stackedWidget->setCurrentWidget(d) ;
if (d) {
QTreeWidgetItem *item = getTreeWidgetItem(d->id());
if (item) {
lobbyTreeWidget->setCurrentItem(item);
}
}
}
void ChatLobbyWidget::updateDisplay()