diff options
author | Maxim Zhiburt <zhiburt@gmail.com> | 2020-11-18 14:19:42 +0300 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2020-12-02 23:50:05 +0100 |
commit | cf306ff86e44361d8cf3aaaec568b20fb8bbfa3d (patch) | |
tree | 3741dcef1f39b2258dffdd2151bba05b4fe792eb /MainPanel.c | |
parent | 4f7d48aa24b20f92b3cd9438a446e345b849c39b (diff) |
Implement sorting in tree mode
Diffstat (limited to 'MainPanel.c')
-rw-r--r-- | MainPanel.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/MainPanel.c b/MainPanel.c index 848deae9..0f8d0e75 100644 --- a/MainPanel.c +++ b/MainPanel.c @@ -27,10 +27,8 @@ void MainPanel_updateTreeFunctions(MainPanel* this, bool mode) { FunctionBar* bar = MainPanel_getFunctionBar(this); if (mode) { FunctionBar_setLabel(bar, KEY_F(5), "Sorted"); - FunctionBar_setLabel(bar, KEY_F(6), "Collap"); } else { FunctionBar_setLabel(bar, KEY_F(5), "Tree "); - FunctionBar_setLabel(bar, KEY_F(6), "SortBy"); } } @@ -68,7 +66,6 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) { ProcessField field = ProcessList_keyAt(pl, hx); if (field == settings->sortKey) { Settings_invertSortOrder(settings); - settings->treeView = false; } else { reaction |= Action_setSortKey(settings, field); } |