We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1993d20 commit e89c041Copy full SHA for e89c041
1 file changed
source/funkin/editors/ui/UIUtil.hx
@@ -150,7 +150,7 @@ class UIUtil {
150
} else if (member is UITextBox) @:privateAccess {
151
var textbox:UITextBox = cast member;
152
if (textbox.__wasFocused) {
153
- textbox.onChange(textbox.label.text);
+ if (textbox.onChange != null) textbox.onChange(textbox.label.text);
154
textbox.__wasFocused = false;
155
}
156
@@ -159,4 +159,4 @@ class UIUtil {
159
confirmUISelections(cast member);
160
161
162
-}
+}
0 commit comments