diff --git a/ChangeLog b/ChangeLog index 3ade7759..f534ae27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22015,3 +22015,6 @@ * Fixed a regression in rdlibrary(1) that caused the average length of audio carts to fail to be updated after moving Start and/or End markers in a cut. +2021-07-07 Fred Gleason + * Fixed a regression in sound panels that broke timer countdowns + during play-out. diff --git a/lib/rdpanel_button.cpp b/lib/rdpanel_button.cpp index a7f98ff4..b633a830 100644 --- a/lib/rdpanel_button.cpp +++ b/lib/rdpanel_button.cpp @@ -484,7 +484,7 @@ void RDPanelButton::WriteKeycap(int secs) } } else { - QString lenstr=RDGetTimeLength(button_active_length+1000,true,false); + QString lenstr=RDGetTimeLength(1000*(1+secs),true,false); p->drawText(size().width()-p->fontMetrics().width(lenstr)- RDPANEL_BUTTON_MARGIN-2, size().height()-2-RDPANEL_BUTTON_MARGIN, @@ -492,7 +492,7 @@ void RDPanelButton::WriteKeycap(int secs) p->setFont(bigLabelFont()); p->drawText((size().width()-p->fontMetrics().width(button_output_text))/2, 74*size().height()/100, - button_output_text); + button_output_text); } } p->end();