From b2d9f7c396a5d26993b64f5a8e6db1f228bb90aa Mon Sep 17 00:00:00 2001 From: James Crook Date: Mon, 17 Feb 2020 21:54:42 +0000 Subject: [PATCH] Bug 2305 - The Gain, Play-at-Speed and Mixer Board sliders do not display the numeric value in the tooltip when sliding --- src/widgets/ASlider.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/ASlider.cpp b/src/widgets/ASlider.cpp index 01efc61aa..e2439bc7b 100644 --- a/src/widgets/ASlider.cpp +++ b/src/widgets/ASlider.cpp @@ -948,7 +948,7 @@ TranslatableString LWSlider::GetTip(float value) const case DB_SLIDER: /* i18n-hint dB abbreviates decibels */ - XO("%+.1f dB").Format( value ); + val = XO("%+.1f dB").Format( value ); break; case PAN_SLIDER: @@ -970,7 +970,7 @@ TranslatableString LWSlider::GetTip(float value) const case SPEED_SLIDER: /* i18n-hint: "x" suggests a multiplicative factor */ - XO("%.2fx").Format( value ); + val = XO("%.2fx").Format( value ); break; #ifdef EXPERIMENTAL_MIDI_OUT