summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-12-11 09:24:27 +0100
committerGitHub <noreply@github.com>2022-12-11 09:24:27 +0100
commit486d61b84f3f998168388f52bac6409b3609af71 (patch)
tree23ed0b8d16e2cda9b6ae66b744bbb1ba5b54ff07 /editor
parentf1f8d74b0f0790caab2f8d82ce2130c79b2aaf63 (diff)
parent0591f0ad370d6391c2fd9843403b0f7f17b3ce39 (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.cpp4
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()) {