Fix pause mode ("Z") in tree view

This commit is contained in:
Daniel Lange 2020-12-09 11:43:53 +01:00 committed by BenBE
parent ded9c5d363
commit 7b739b6292
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ static void checkRecalculation(ScreenManager* this, double* oldTime, int* sortTi
if (*rescan) {
*oldTime = newTime;
ProcessList_scan(pl, this->state->pauseProcessUpdate);
if (*sortTimeout == 0 || this->settings->treeView) {
if (!this->state->pauseProcessUpdate && (*sortTimeout == 0 || this->settings->treeView)) {
ProcessList_sort(pl);
*sortTimeout = 1;
}