summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-15 13:23:36 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-15 13:23:36 +0100
commiteec835f547c8fe4d9579f51a89fee0324b52d076 (patch)
tree41c520df274c6f05b3f710a31459ab832e83bab8 /editor
parent22b19bbdebeec174c78303e74ef4ca522e1ad33e (diff)
parentf6744fc22f8126893dba6ed99cd75cf70d153590 (diff)
Merge pull request #67651 from KoBeWi/❗_of_damnation
Fix double hint paste in EditorResourcePicker
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_resource_picker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_resource_picker.cpp b/editor/editor_resource_picker.cpp
index 0b38996b2d..20a9826edb 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;
}
}