summaryrefslogtreecommitdiffstats
path: root/Action.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2021-02-07 13:46:57 +0100
committerDaniel Lange <DLange@git.local>2021-02-07 13:46:57 +0100
commite86acd6893c17165b8b889bea122a283b9c09fe7 (patch)
treebffa7491283d3beddc88697073bc1beb241a3794 /Action.c
parent0d67263b36f0f1b45a2f10ec80c15766ca218ce5 (diff)
Remove force sort order to ASC when returning to tree mode
Bug found by BenBE via IRC
Diffstat (limited to 'Action.c')
-rw-r--r--Action.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Action.c b/Action.c
index 0ca9a8ba..a87ca1a8 100644
--- a/Action.c
+++ b/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;

© 2014-2024 Faster IT GmbH | imprint | privacy policy