mirror of https://github.com/xzeldon/htop.git
Sort in paused mode after inverting sort order
This commit is contained in:
parent
7b739b6292
commit
db5687a355
2
Action.c
2
Action.c
|
@ -273,6 +273,8 @@ static Htop_Reaction actionLowerPriority(State* st) {
|
||||||
|
|
||||||
static Htop_Reaction actionInvertSortOrder(State* st) {
|
static Htop_Reaction actionInvertSortOrder(State* st) {
|
||||||
Settings_invertSortOrder(st->settings);
|
Settings_invertSortOrder(st->settings);
|
||||||
|
if (st->pauseProcessUpdate)
|
||||||
|
ProcessList_sort(st->pl);
|
||||||
return HTOP_REFRESH | HTOP_SAVE_SETTINGS;
|
return HTOP_REFRESH | HTOP_SAVE_SETTINGS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue