mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-17 21:40:36 -04:00
Clear GxsGroupFrame When No Selection
This commit is contained in:
parent
2bc0629cc7
commit
71e1a46fa6
1 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue