diff options
author | kobewi <kobewi4e@gmail.com> | 2022-10-20 01:05:21 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-10-20 01:05:21 +0200 |
commit | f6744fc22f8126893dba6ed99cd75cf70d153590 (patch) | |
tree | e09c631820b7c4cfc290e0be381903aba8377d6c /editor | |
parent | a8c805be2947b211ee8b881d7a8bab7cdc86e170 (diff) |
Fix double hint paste in EditorResourcePicker
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_resource_picker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |