From 7ba644456ebd4b4e0e4a781678507e705a549c75 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 19 May 2021 23:47:30 +0200 Subject: [PATCH] LibGUI: Don't invalidate FileSystemModel indices on thumbnail update Finishing a thumbnail generation doesn't affect indices at all. --- Userland/Libraries/LibGUI/FileSystemModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibGUI/FileSystemModel.cpp b/Userland/Libraries/LibGUI/FileSystemModel.cpp index 8ba68483f5..3a57f0761f 100644 --- a/Userland/Libraries/LibGUI/FileSystemModel.cpp +++ b/Userland/Libraries/LibGUI/FileSystemModel.cpp @@ -592,7 +592,7 @@ bool FileSystemModel::fetch_thumbnail_for(const Node& node) m_thumbnail_progress_total = 0; } - did_update(); + did_update(UpdateFlag::DontInvalidateIndices); }); return false;