Update UIUtil.hx

This commit is contained in:
Frakits
2025-08-06 18:04:12 +03:00
committed by GitHub
parent 1993d205ca
commit e89c0411c6
+1 -1
View File
@@ -150,7 +150,7 @@ class UIUtil {
} else if (member is UITextBox) @:privateAccess {
var textbox:UITextBox = cast member;
if (textbox.__wasFocused) {
textbox.onChange(textbox.label.text);
if (textbox.onChange != null) textbox.onChange(textbox.label.text);
textbox.__wasFocused = false;
}
}