From 0e56dd491767db4146b3a9e07a393cfda738a91c Mon Sep 17 00:00:00 2001 From: thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> Date: Fri, 18 Feb 2022 05:49:37 -0500 Subject: [PATCH] SystemMonitor: Don't invalidate ProcessStateModel on refresh The model has a fixed number of rows based on the column enum and shouldn't need to be invalidated every update. --- Userland/Applications/SystemMonitor/ProcessStateWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Applications/SystemMonitor/ProcessStateWidget.cpp b/Userland/Applications/SystemMonitor/ProcessStateWidget.cpp index e80e6f9f43..41f20aa08d 100644 --- a/Userland/Applications/SystemMonitor/ProcessStateWidget.cpp +++ b/Userland/Applications/SystemMonitor/ProcessStateWidget.cpp @@ -72,7 +72,7 @@ public: break; } } - invalidate(); + did_update(GUI::Model::UpdateFlag::DontInvalidateIndices); } private: