Sort in paused mode after inverting sort order

This commit is contained in:
Christian Göttsche 2020-12-09 13:43:07 +01:00
parent 7b739b6292
commit db5687a355
1 changed files with 2 additions and 0 deletions

View File

@ -273,6 +273,8 @@ static Htop_Reaction actionLowerPriority(State* st) {
static Htop_Reaction actionInvertSortOrder(State* st) {
Settings_invertSortOrder(st->settings);
if (st->pauseProcessUpdate)
ProcessList_sort(st->pl);
return HTOP_REFRESH | HTOP_SAVE_SETTINGS;
}