summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GTreeView.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-11-11 19:11:55 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-11-11 22:20:02 +0100
commit3ef287eb9f673f6cc10cae5f7d249c0083533ee9 (patch)
tree8b1f401da7828ee00e231c5aae84183263234b75 /Libraries/LibGUI/GTreeView.cpp
parent71823a6c497ad448494aaa9d44a7a8e0b94aac20 (diff)
downloadserenity-3ef287eb9f673f6cc10cae5f7d249c0083533ee9.zip
GTreeView: Always repaint in response to did_update_model()
This could definitely be more efficient, but this is more correct than doing nothing at all. :^)
Diffstat (limited to 'Libraries/LibGUI/GTreeView.cpp')
-rw-r--r--Libraries/LibGUI/GTreeView.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGUI/GTreeView.cpp b/Libraries/LibGUI/GTreeView.cpp
index e5a3fea5b2..29bdb05743 100644
--- a/Libraries/LibGUI/GTreeView.cpp
+++ b/Libraries/LibGUI/GTreeView.cpp
@@ -244,6 +244,7 @@ void GTreeView::did_update_model()
{
GAbstractView::did_update_model();
update_content_size();
+ update();
}
void GTreeView::did_update_selection()