Fix double hint paste in EditorResourcePicker
This commit is contained in:
parent
a8c805be29
commit
f6744fc22f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue