浏览代码

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. :^)
Andreas Kling 5 年之前
父节点
当前提交
3ef287eb9f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Libraries/LibGUI/GTreeView.cpp

+ 1 - 0
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()