mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
textbox validation fix
This commit is contained in:
parent
54629b0b6c
commit
4ad48bdb63
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ void TextBox::typed(unsigned int codepoint) {
|
|||
|
||||
bool TextBox::validate() {
|
||||
if (validator) {
|
||||
valid = validator(input);
|
||||
valid = validator(getText());
|
||||
} else {
|
||||
valid = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue