From 47a2a78350b081abd1dc0cbb43dd2932ff3c70cf Mon Sep 17 00:00:00 2001 From: Phenom Date: Fri, 6 Nov 2020 11:04:50 +0100 Subject: [PATCH] Fix RSTreeView Header first Painting --- retroshare-gui/src/gui/common/RSTreeView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/common/RSTreeView.cpp b/retroshare-gui/src/gui/common/RSTreeView.cpp index 72b191fe2..ca2aedacc 100644 --- a/retroshare-gui/src/gui/common/RSTreeView.cpp +++ b/retroshare-gui/src/gui/common/RSTreeView.cpp @@ -58,7 +58,8 @@ void RSTreeView::setAutoSelect(bool b) void RSTreeView::resizeEvent(QResizeEvent *e) { - emit sizeChanged(e->size()); + QTreeView::resizeEvent(e); + emit sizeChanged(e->size()); } void RSTreeView::setPlaceholderText(const QString &text)