fire onTextChange for UILineEdit
This commit is contained in:
parent
a21b4dc4f1
commit
e701cce5fd
|
@ -280,6 +280,7 @@ void UILineEdit::appendText(std::string text)
|
|||
m_cursorPos += text.length();
|
||||
blinkCursor();
|
||||
update();
|
||||
UIWidget::onTextChange(m_text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -296,6 +297,7 @@ void UILineEdit::appendCharacter(char c)
|
|||
m_cursorPos++;
|
||||
blinkCursor();
|
||||
update();
|
||||
UIWidget::onTextChange(m_text);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -312,6 +314,7 @@ void UILineEdit::removeCharacter(bool right)
|
|||
}
|
||||
blinkCursor();
|
||||
update();
|
||||
UIWidget::onTextChange(m_text);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue