diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-11-11 19:11:55 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-11-11 22:20:02 +0100 |
commit | 3ef287eb9f673f6cc10cae5f7d249c0083533ee9 (patch) | |
tree | 8b1f401da7828ee00e231c5aae84183263234b75 /Libraries/LibGUI/GTreeView.cpp | |
parent | 71823a6c497ad448494aaa9d44a7a8e0b94aac20 (diff) | |
download | serenity-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.cpp | 1 |
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() |