update bar when clicking header.

This commit is contained in:
Hisham Muhammad 2015-04-09 16:02:14 -03:00
parent ac8b934498
commit 64ecba2583
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) {
} else { } else {
reaction |= Action_setSortKey(settings, field); reaction |= Action_setSortKey(settings, field);
} }
reaction |= HTOP_RECALCULATE; reaction |= HTOP_RECALCULATE | HTOP_REDRAW_BAR;
result = HANDLED; result = HANDLED;
} else if (ch != ERR && this->inc->active) { } else if (ch != ERR && this->inc->active) {
bool filterChanged = IncSet_handleKey(this->inc, ch, super, (IncMode_GetPanelValue) MainPanel_getValue, NULL); bool filterChanged = IncSet_handleKey(this->inc, ch, super, (IncMode_GetPanelValue) MainPanel_getValue, NULL);