mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Label: Check for deletion before calling repaint() in hideEditor()
This commit is contained in:
parent
6b29a6d8ff
commit
ce72fe4143
1 changed files with 3 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue