From 57cb20368be7a29df8966fe9245b7b8030b89f73 Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Sun, 3 Nov 2019 08:30:43 +0100 Subject: [PATCH] Fix missing update of BPM display The problem was a missing redraw after changing the label. This led to a stucked display, when the tempo dial is used. Now a redraw is added after the label is changed. --- src/gmastertrack.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gmastertrack.cxx b/src/gmastertrack.cxx index b06cbef..d460e8b 100644 --- a/src/gmastertrack.cxx +++ b/src/gmastertrack.cxx @@ -331,6 +331,7 @@ void GMasterTrack::setBpm( float b ) std::stringstream s; s << round(bpm*10)/10; tempoDial.copy_label( s.str().c_str() ); + tempoDial.redraw(); } void GMasterTrack::setInputVol(float f)