From b58ad983d0eecd4d42207a7cf7010b434292fe23 Mon Sep 17 00:00:00 2001 From: fourtf Date: Sat, 5 Aug 2017 22:26:37 +0200 Subject: [PATCH] fixed messages not being layouted when scrolling --- src/widgets/chatwidgetview.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/widgets/chatwidgetview.cpp b/src/widgets/chatwidgetview.cpp index 6c82c5977..910f0a273 100644 --- a/src/widgets/chatwidgetview.cpp +++ b/src/widgets/chatwidgetview.cpp @@ -35,6 +35,8 @@ ChatWidgetView::ChatWidgetView(ChatWidget *_chatWidget) this->scrollBar.getCurrentValueChanged().connect([this] { // Whenever the scrollbar value has been changed, re-render the ChatWidgetView this->update(); + + this->layoutMessages(); }); }