fire onTextChange for UILineEdit

This commit is contained in:
Eduardo Bart 2012-01-17 02:43:54 -02:00
parent a21b4dc4f1
commit e701cce5fd
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}
}