From 89fc77ef8e3af4a520ab5ca65fc5ec575d491f35 Mon Sep 17 00:00:00 2001 From: csoler Date: Fri, 5 Jun 2020 22:47:29 +0200 Subject: [PATCH] fixed bug causing crash when clicking on non channel entries --- .../src/gui/gxschannels/GxsChannelPostsWidgetWithModel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/gxschannels/GxsChannelPostsWidgetWithModel.cpp b/retroshare-gui/src/gui/gxschannels/GxsChannelPostsWidgetWithModel.cpp index d0dc70e96..d3f952e96 100644 --- a/retroshare-gui/src/gui/gxschannels/GxsChannelPostsWidgetWithModel.cpp +++ b/retroshare-gui/src/gui/gxschannels/GxsChannelPostsWidgetWithModel.cpp @@ -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());