mirror of
https://github.com/godotengine/godot
synced 2024-09-15 23:56:57 +00:00
Merge pull request #67651 from KoBeWi/❗_of_damnation
Fix double hint paste in EditorResourcePicker
This commit is contained in:
commit
eec835f547
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue