Fix double hint paste in EditorResourcePicker

This commit is contained in:
kobewi 2022-10-20 01:05:21 +02:00
parent a8c805be29
commit f6744fc22f

View file

@ -256,7 +256,7 @@ void EditorResourcePicker::_update_menu_items() {
paste_valid = ClassDB::is_parent_class(res_type, base) || EditorNode::get_editor_data().script_class_is_parent(res_type, base);
if (!paste_valid) {
if (paste_valid) {
break;
}
}