From e701cce5fd75f9e0b2d86fe1b38e97340aa3f696 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Tue, 17 Jan 2012 02:43:54 -0200 Subject: [PATCH] fire onTextChange for UILineEdit --- src/framework/ui/uilineedit.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/framework/ui/uilineedit.cpp b/src/framework/ui/uilineedit.cpp index 37e6ae7c..6c56f0c4 100644 --- a/src/framework/ui/uilineedit.cpp +++ b/src/framework/ui/uilineedit.cpp @@ -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); } }