mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 15:15:44 +00:00
Remove force sort order to ASC when returning to tree mode
Bug found by BenBE via IRC
This commit is contained in:
parent
0d67263b36
commit
e86acd6893
3
Action.c
3
Action.c
@ -226,9 +226,6 @@ static Htop_Reaction actionToggleMergedCommand(State* st) {
|
||||
|
||||
static Htop_Reaction actionToggleTreeView(State* st) {
|
||||
st->settings->treeView = !st->settings->treeView;
|
||||
if (st->settings->treeView) {
|
||||
st->settings->treeDirection = 1;
|
||||
}
|
||||
|
||||
ProcessList_expandTree(st->pl);
|
||||
return HTOP_REFRESH | HTOP_SAVE_SETTINGS | HTOP_KEEP_FOLLOWING | HTOP_REDRAW_BAR | HTOP_UPDATE_PANELHDR;
|
||||
|
Loading…
Reference in New Issue
Block a user