mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04: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;
|
||||
}
|
||||
|
||||
if (groupId.isEmpty()) {
|
||||
if (mMessageWidget) {
|
||||
mMessageWidget->setGroupId(RsGxsGroupId());
|
||||
ui->messageTabWidget->setCurrentWidget(mMessageWidget);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
mGroupId = RsGxsGroupId(groupId.toStdString());
|
||||
if (mGroupId.isNull()) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user