From f6744fc22f8126893dba6ed99cd75cf70d153590 Mon Sep 17 00:00:00 2001 From: kobewi Date: Thu, 20 Oct 2022 01:05:21 +0200 Subject: Fix double hint paste in EditorResourcePicker --- editor/editor_resource_picker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor') diff --git a/editor/editor_resource_picker.cpp b/editor/editor_resource_picker.cpp index 01816b7205..7309b0750a 100644 --- a/editor/editor_resource_picker.cpp +++ b/editor/editor_resource_picker.cpp @@ -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; } } -- cgit v1.2.3