mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 16:09:35 -05:00
Clear GxsGroupFrame When No Selection
This commit is contained in:
parent
2bc0629cc7
commit
71e1a46fa6
@ -656,6 +656,14 @@ void GxsGroupFrameDialog::changedGroup(const QString &groupId)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (groupId.isEmpty()) {
|
||||||
|
if (mMessageWidget) {
|
||||||
|
mMessageWidget->setGroupId(RsGxsGroupId());
|
||||||
|
ui->messageTabWidget->setCurrentWidget(mMessageWidget);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
mGroupId = RsGxsGroupId(groupId.toStdString());
|
mGroupId = RsGxsGroupId(groupId.toStdString());
|
||||||
if (mGroupId.isNull()) {
|
if (mGroupId.isNull()) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user