summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-10-20 01:05:21 +0200
committerkobewi <kobewi4e@gmail.com>2022-10-20 01:05:21 +0200
commitf6744fc22f8126893dba6ed99cd75cf70d153590 (patch)
treee09c631820b7c4cfc290e0be381903aba8377d6c /editor
parenta8c805be2947b211ee8b881d7a8bab7cdc86e170 (diff)
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 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;
}
}