mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-23 22:46:36 +03:00
Sort in paused mode after inverting sort order
This commit is contained in:
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user