You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Fix crashes in *_input functions
This commit is contained in:
@@ -139,6 +139,8 @@ void EditorSettingsDialog::_notification(int p_what) {
|
||||
}
|
||||
|
||||
void EditorSettingsDialog::_unhandled_input(const Ref<InputEvent> &p_event) {
|
||||
ERR_FAIL_COND(p_event.is_null());
|
||||
|
||||
const Ref<InputEventKey> k = p_event;
|
||||
|
||||
if (k.is_valid() && k->is_pressed()) {
|
||||
|
||||
Reference in New Issue
Block a user