From 0591f0ad370d6391c2fd9843403b0f7f17b3ce39 Mon Sep 17 00:00:00 2001 From: rune-scape Date: Thu, 1 Dec 2022 16:47:02 -0500 Subject: Fix editor help crash --- editor/editor_help_search.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'editor') 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()) { -- cgit v1.2.3