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: