summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2024-01-17 10:18:31 +0100
committerDaniel Lange <DLange@git.local>2024-01-17 10:18:31 +0100
commit91990b1a34927a4136a85e4ff9adcdbfa500286a (patch)
tree7efb1ce7e3cea2bfb9f2441a5e17ddd975c4a8d4
parent5d778eaacc78c69d5597b57afb4f98062d8856ef (diff)
Clicking on column headers needs to also update the sort direction arrow
-rw-r--r--MainPanel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MainPanel.c b/MainPanel.c
index 83490236..47b2f92f 100644
--- a/MainPanel.c
+++ b/MainPanel.c
@@ -92,7 +92,7 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) {
} else {
reaction |= Action_setSortKey(settings, field);
}
- reaction |= HTOP_RECALCULATE | HTOP_REDRAW_BAR | HTOP_SAVE_SETTINGS;
+ reaction |= HTOP_RECALCULATE | HTOP_REDRAW_BAR | HTOP_UPDATE_PANELHDR | HTOP_SAVE_SETTINGS;
result = HANDLED;
} else if (EVENT_IS_SCREEN_TAB_CLICK(ch)) {
int x = EVENT_SCREEN_TAB_GET_X(ch);

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