mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-03 11:00:14 -05:00
fixed open in new tab system
This commit is contained in:
parent
c23d994bfc
commit
0eb8edf824
@ -876,10 +876,7 @@ void GxsGroupFrameDialog::openGroupInNewTab(const RsGxsGroupId &groupId)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* search exisiting tab */
|
/* search exisiting tab */
|
||||||
GxsMessageFrameWidget *msgWidget = messageWidget(groupId);
|
GxsMessageFrameWidget *msgWidget = createMessageWidget(groupId);
|
||||||
|
|
||||||
if (!msgWidget) /* not found, create new tab */
|
|
||||||
msgWidget = createMessageWidget(groupId);
|
|
||||||
|
|
||||||
ui->messageTabWidget->setCurrentWidget(msgWidget);
|
ui->messageTabWidget->setCurrentWidget(msgWidget);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user