Fix UITextEdit::setTextHidden ignoring the hidden param and always setting the member variable to true

This commit is contained in:
Kamil Chojnowski 2021-03-14 21:12:59 +01:00
parent 872abf05f4
commit 9c9b85ac5e

View File

@ -369,7 +369,7 @@ void UITextEdit::setSelection(int start, int end)
void UITextEdit::setTextHidden(bool hidden) void UITextEdit::setTextHidden(bool hidden)
{ {
m_textHidden = true; m_textHidden = hidden;
update(true); update(true);
} }