diff --git a/src/juce_appframework/gui/components/controls/juce_Slider.cpp b/src/juce_appframework/gui/components/controls/juce_Slider.cpp index c01652c094..61eb4facf9 100644 --- a/src/juce_appframework/gui/components/controls/juce_Slider.cpp +++ b/src/juce_appframework/gui/components/controls/juce_Slider.cpp @@ -638,10 +638,8 @@ void Slider::labelTextChanged (Label* label) setValue (newValue, true, true); sendDragEnd(); } - else - { - updateText(); - } + + updateText(); // force a clean-up of the text, needed in case setValue() hasn't done this. } void Slider::buttonClicked (Button* button)