fixed open in new tab system

This commit is contained in:
csoler 2020-06-23 22:00:14 +02:00
parent c23d994bfc
commit 0eb8edf824
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -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);
} }