Hide Site labels when theres is no link

This commit is contained in:
defnax 2019-02-10 18:50:48 +01:00
parent f0a99fbe98
commit 54e3ca3485

View File

@ -298,6 +298,12 @@ void PostedItem::fill()
ui->titleLabel->setText(messageName()); ui->titleLabel->setText(messageName());
} }
if(urlarray == NULL)
{
ui->siteLabel->hide();
ui->siteBoldLabel->hide();
}
ui->siteLabel->setText(sitestr); ui->siteLabel->setText(sitestr);