mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 17:49:21 +02:00
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…
x
Reference in New Issue
Block a user