mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
e99b202b51
commit
5155c99296
@ -250,6 +250,13 @@ void ChatLobbyWidget::addChatPage(ChatLobbyDialog *d)
|
|||||||
void ChatLobbyWidget::setCurrentChatPage(ChatLobbyDialog *d)
|
void ChatLobbyWidget::setCurrentChatPage(ChatLobbyDialog *d)
|
||||||
{
|
{
|
||||||
stackedWidget->setCurrentWidget(d) ;
|
stackedWidget->setCurrentWidget(d) ;
|
||||||
|
|
||||||
|
if (d) {
|
||||||
|
QTreeWidgetItem *item = getTreeWidgetItem(d->id());
|
||||||
|
if (item) {
|
||||||
|
lobbyTreeWidget->setCurrentItem(item);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ChatLobbyWidget::updateDisplay()
|
void ChatLobbyWidget::updateDisplay()
|
||||||
|
Loading…
Reference in New Issue
Block a user