summaryrefslogtreecommitdiffstats
path: root/MetersPanel.c
diff options
context:
space:
mode:
authorHisham <hisham@gobolinux.org>2016-05-25 21:29:06 -0300
committerHisham <hisham@gobolinux.org>2016-05-25 21:29:06 -0300
commitb7ac41663445d83978abba396fe466fe2fa46162 (patch)
tree403797ab29622fa13dbc1f72e1135090c8bf2158 /MetersPanel.c
parent6cc0a8c82006fbe418ae1189586ab3974758f028 (diff)
Fixes #498.
Diffstat (limited to 'MetersPanel.c')
-rw-r--r--MetersPanel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MetersPanel.c b/MetersPanel.c
index 302b6d1a..fa5300e9 100644
--- a/MetersPanel.c
+++ b/MetersPanel.c
@@ -61,6 +61,7 @@ void MetersPanel_setMoving(MetersPanel* this, bool moving) {
Panel_setSelectionColor(super, CRT_colors[PANEL_SELECTION_FOLLOW]);
super->currentBar = Meters_movingBar;
}
+ FunctionBar_draw(this->super.currentBar, NULL);
}
static inline bool moveToNeighbor(MetersPanel* this, MetersPanel* neighbor, int selected) {
@@ -99,7 +100,6 @@ static HandlerResult MetersPanel_eventHandler(Panel* super, int ch) {
if (!Vector_size(this->meters))
break;
MetersPanel_setMoving(this, !(this->moving));
- FunctionBar_draw(this->super.currentBar, NULL);
result = HANDLED;
break;
}

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