mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-23 01:10:39 -05:00
remove channel/posted/forum info when no group is selected
This commit is contained in:
parent
08b436e5f4
commit
a5d1a154a4
9 changed files with 63 additions and 13 deletions
|
|
@ -596,6 +596,20 @@ void GxsChannelPostsWidget::clearPosts()
|
|||
ui->fileWidget->clear();
|
||||
}
|
||||
|
||||
void GxsChannelPostsWidget::blank()
|
||||
{
|
||||
mStateHelper->setWidgetEnabled(ui->postButton, false);
|
||||
mStateHelper->setWidgetEnabled(ui->subscribeToolButton, false);
|
||||
|
||||
clearPosts();
|
||||
|
||||
groupNameChanged(QString());
|
||||
|
||||
ui->infoWidget->hide();
|
||||
ui->feedWidget->show();
|
||||
ui->fileWidget->hide();
|
||||
}
|
||||
|
||||
bool GxsChannelPostsWidget::navigatePostItem(const RsGxsMessageId &msgId)
|
||||
{
|
||||
FeedItem *feedItem = ui->feedWidget->findGxsFeedItem(groupId(), msgId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue