diff --git a/modules/juce_gui_basics/widgets/juce_Label.cpp b/modules/juce_gui_basics/widgets/juce_Label.cpp index 1ade565757..9a5a6a0932 100644 --- a/modules/juce_gui_basics/widgets/juce_Label.cpp +++ b/modules/juce_gui_basics/widgets/juce_Label.cpp @@ -282,7 +282,9 @@ void Label::hideEditor (bool discardCurrentEditorContents) const bool changed = (! discardCurrentEditorContents) && updateFromTextEditorContents (*outgoingEditor); outgoingEditor.reset(); - repaint(); + + if (deletionChecker != nullptr) + repaint(); if (changed) textWasEdited();