Просмотр исходного кода

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 лет назад
Родитель
Сommit
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()