diff --git a/modules/juce_gui_basics/widgets/juce_Slider.cpp b/modules/juce_gui_basics/widgets/juce_Slider.cpp index 29c15db45e..128d19e4ec 100644 --- a/modules/juce_gui_basics/widgets/juce_Slider.cpp +++ b/modules/juce_gui_basics/widgets/juce_Slider.cpp @@ -408,7 +408,12 @@ public: void updateText() { if (valueBox != nullptr) - valueBox->setText (owner.getTextFromValue (currentValue.getValue()), dontSendNotification); + { + String newValue (owner.getTextFromValue (currentValue.getValue())); + + if (newValue != valueBox->getText()) + valueBox->setText (newValue, dontSendNotification); + } } double constrainedValue (double value) const