fixed bug causing crash when clicking on non channel entries

This commit is contained in:
csoler 2020-06-05 22:47:29 +02:00
parent facad382cf
commit 89fc77ef8e
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -1019,8 +1019,8 @@ void GxsChannelPostsWidget::clearPosts()
void GxsChannelPostsWidgetWithModel::blank()
{
mStateHelper->setWidgetEnabled(ui->postButton, false);
mStateHelper->setWidgetEnabled(ui->subscribeToolButton, false);
ui->postButton->setEnabled(false);
ui->subscribeToolButton->setEnabled(false);
mChannelPostsModel->clear();
groupNameChanged(QString());