diff options
Diffstat (limited to 'editor/editor_settings_dialog.cpp')
-rw-r--r-- | editor/editor_settings_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_settings_dialog.cpp b/editor/editor_settings_dialog.cpp index 23b319f456..a5e70c5b6c 100644 --- a/editor/editor_settings_dialog.cpp +++ b/editor/editor_settings_dialog.cpp @@ -500,7 +500,7 @@ void EditorSettingsDialog::_shortcut_button_pressed(Object *p_item, int p_column return; } TreeItem *ti = Object::cast_to<TreeItem>(p_item); - ERR_FAIL_COND_MSG(!ti, "Object passed is not a TreeItem"); + ERR_FAIL_NULL_MSG(ti, "Object passed is not a TreeItem."); ShortcutButton button_idx = (ShortcutButton)p_idx; |