summaryrefslogtreecommitdiffstats
path: root/ScreenManager.c
diff options
context:
space:
mode:
Diffstat (limited to 'ScreenManager.c')
-rw-r--r--ScreenManager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ScreenManager.c b/ScreenManager.c
index af9592c2..c4fbfeee 100644
--- a/ScreenManager.c
+++ b/ScreenManager.c
@@ -105,6 +105,8 @@ static void checkRecalculation(ScreenManager* this, double* oldTime, int* sortTi
if (*rescan) {
*oldTime = newTime;
+ // always update header, especially to avoid gaps in graph meters
+ Header_updateData(this->header);
ProcessList_scan(pl, this->state->pauseProcessUpdate);
if (!this->state->pauseProcessUpdate && (*sortTimeout == 0 || this->settings->treeView)) {
ProcessList_sort(pl);