From 612c9c94dc30b58b49aee9ce92b29c4295bb7b0a Mon Sep 17 00:00:00 2001 From: tetyys Date: Wed, 26 Sep 2018 22:16:40 +0300 Subject: [PATCH] Clear scroll bar when switching channels in a ChannelView --- src/widgets/helper/ChannelView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/helper/ChannelView.cpp b/src/widgets/helper/ChannelView.cpp index d180448f..398ef7ee 100644 --- a/src/widgets/helper/ChannelView.cpp +++ b/src/widgets/helper/ChannelView.cpp @@ -397,7 +397,7 @@ void ChannelView::setChannel(ChannelPtr newChannel) this->detachChannel(); } - this->messages.clear(); + this->clearMessages(); // on new message this->channelConnections_.push_back(