diff options
author | Benny Baumann <BenBE@geshi.org> | 2023-04-26 12:19:04 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2023-04-28 18:06:05 +0200 |
commit | f50944c3d563238c9843057978041f2cd7c3b285 (patch) | |
tree | c190f8b8af2c901391196bb911516f8598a98ce1 /Action.c | |
parent | 71f2e66126286540ca88d8c36f81008ba5181f89 (diff) |
Force re-sorting of the process list view after switching between list/treeview mode
Fixes: #1225
Diffstat (limited to 'Action.c')
-rw-r--r-- | Action.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -253,6 +253,9 @@ static Htop_Reaction actionToggleTreeView(State* st) { if (!ss->allBranchesCollapsed) ProcessList_expandTree(st->pl); + + st->pl->needsSort = true; + return HTOP_REFRESH | HTOP_SAVE_SETTINGS | HTOP_KEEP_FOLLOWING | HTOP_REDRAW_BAR | HTOP_UPDATE_PANELHDR; } |