1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 19:45:08 +00:00

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.
This commit is contained in:
thankyouverycool 2022-02-18 05:49:37 -05:00 committed by Andreas Kling
parent 4daa5622fe
commit 0e56dd4917

View file

@ -72,7 +72,7 @@ public:
break;
}
}
invalidate();
did_update(GUI::Model::UpdateFlag::DontInvalidateIndices);
}
private: