mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-17 17:43:59 -05:00
Fixing get work links click on messages & clear the channel details when no channel selected
This commit is contained in:
parent
b3b87303e2
commit
9e0c247677
2 changed files with 81 additions and 69 deletions
|
|
@ -955,10 +955,18 @@ void GxsChannelPostsWidgetWithModel::blank()
|
|||
ui->postButton->setEnabled(false);
|
||||
ui->subscribeToolButton->setEnabled(false);
|
||||
|
||||
mChannelPostsModel->clear();
|
||||
groupNameChanged(QString());
|
||||
ui->channelName_LB->setText(tr("No Channel Selected"));
|
||||
ui->logoLabel->setPixmap(FilesDefs::getPixmapFromQtResourcePath(":/icons/png/channels.png"));
|
||||
ui->infoPosts->setText("");
|
||||
ui->infoLastPost->setText("");
|
||||
ui->infoAdministrator->setText("");
|
||||
ui->infoDistribution->setText("");
|
||||
ui->infoCreated->setText("");
|
||||
ui->infoDescription->setText("");
|
||||
|
||||
mChannelPostsModel->clear();
|
||||
groupNameChanged(QString());
|
||||
|
||||
//ui->infoWidget->hide();
|
||||
}
|
||||
|
||||
bool GxsChannelPostsWidgetWithModel::navigate(const RsGxsMessageId &msgId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue