aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/0012-fix-forced-sort-order.patch
blob: fcc667f2c51405c879700bd8b1f63386a0b91892 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From e86acd6893c17165b8b889bea122a283b9c09fe7 Mon Sep 17 00:00:00 2001
From: Daniel Lange <DLange@git.local>
Date: Sun, 7 Feb 2021 13:46:57 +0100
Subject: [PATCH] Remove force sort order to ASC when returning to tree mode

Bug found by BenBE via IRC
---
 Action.c | 3 ---
 1 file changed, 3 deletions(-)

--- a/Action.c
+++ b/Action.c
@@ -227,9 +227,6 @@
 
 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