mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-23 22:01:05 -05:00
fixed bug causing crash when clicking on non channel entries
This commit is contained in:
parent
facad382cf
commit
89fc77ef8e
@ -1019,8 +1019,8 @@ void GxsChannelPostsWidget::clearPosts()
|
|||||||
|
|
||||||
void GxsChannelPostsWidgetWithModel::blank()
|
void GxsChannelPostsWidgetWithModel::blank()
|
||||||
{
|
{
|
||||||
mStateHelper->setWidgetEnabled(ui->postButton, false);
|
ui->postButton->setEnabled(false);
|
||||||
mStateHelper->setWidgetEnabled(ui->subscribeToolButton, false);
|
ui->subscribeToolButton->setEnabled(false);
|
||||||
|
|
||||||
mChannelPostsModel->clear();
|
mChannelPostsModel->clear();
|
||||||
groupNameChanged(QString());
|
groupNameChanged(QString());
|
||||||
|
Loading…
Reference in New Issue
Block a user