From db5687a3556385521c42ee729aaa75a282b47c8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Wed, 9 Dec 2020 13:43:07 +0100 Subject: Sort in paused mode after inverting sort order --- Action.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Action.c') diff --git a/Action.c b/Action.c index 66934bec..eccd985c 100644 --- a/Action.c +++ b/Action.c @@ -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; } -- cgit v1.2.3