mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #66101 from KoBeWi/help,_it_crashed
Fix possible crash in editor help
This commit is contained in:
commit
166ab6e80e
@ -324,11 +324,16 @@ bool EditorHelpSearch::Runner::_phase_match_classes_init() {
|
||||
}
|
||||
|
||||
bool EditorHelpSearch::Runner::_phase_match_classes() {
|
||||
if (!iterator_doc) {
|
||||
return true;
|
||||
}
|
||||
|
||||
DocData::ClassDoc &class_doc = iterator_doc->value;
|
||||
if (class_doc.name.is_empty()) {
|
||||
++iterator_doc;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!_is_class_disabled_by_feature_profile(class_doc.name)) {
|
||||
ClassMatch match;
|
||||
match.doc = &class_doc;
|
||||
|
Loading…
Reference in New Issue
Block a user