summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-03 09:30:11 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-03 09:30:11 +0200
commit4e237ed9efdef41de12eb41971c391f755897c60 (patch)
treebeab0bc5bb5866105513b45a32f730e777d43b11 /editor
parent6609f1b09f193399659d7586bb09b1135e5b8163 (diff)
parente9d8847e29c67de71265e301ff92caecfe99c412 (diff)
Merge pull request #66795 from manueldun/loadSavedMaterial
fix error dialog from appearing after loading material res
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 de8259c25c..f89aef4cc3 100644
--- a/editor/editor_resource_picker.cpp
+++ b/editor/editor_resource_picker.cpp
@@ -155,7 +155,7 @@ void EditorResourcePicker::_file_selected(const String &p_path) {
any_type_matches = is_global_class ? EditorNode::get_editor_data().script_class_is_parent(res_type, base) : loaded_resource->is_class(base);
- if (!any_type_matches) {
+ if (any_type_matches) {
break;
}
}