mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
Fix pause mode ("Z") in tree view
This commit is contained in:
parent
ded9c5d363
commit
7b739b6292
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user