diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-12-11 09:24:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-11 09:24:27 +0100 |
commit | 486d61b84f3f998168388f52bac6409b3609af71 (patch) | |
tree | 23ed0b8d16e2cda9b6ae66b744bbb1ba5b54ff07 /editor | |
parent | f1f8d74b0f0790caab2f8d82ce2130c79b2aaf63 (diff) | |
parent | 0591f0ad370d6391c2fd9843403b0f7f17b3ce39 (diff) |
Merge pull request #69466 from rune-scape/editor-help-crash-fix
Fix editor help crash
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_help_search.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/editor_help_search.cpp b/editor/editor_help_search.cpp index 286dcf4b8e..b48fbb805a 100644 --- a/editor/editor_help_search.cpp +++ b/editor/editor_help_search.cpp @@ -443,6 +443,10 @@ bool EditorHelpSearch::Runner::_phase_member_items_init() { } bool EditorHelpSearch::Runner::_phase_member_items() { + if (!iterator_match) { + return true; + } + ClassMatch &match = iterator_match->value; if (!match.doc || match.doc->name.is_empty()) { |