summaryrefslogtreecommitdiff
path: root/editor/editor_help.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-09-20 15:03:13 +0200
committerGitHub <noreply@github.com>2018-09-20 15:03:13 +0200
commit48ace81d7b79c0428295df276c649df143ca0c3b (patch)
treec21fce309b132af37a3b8697af46c8e72ec1ffd7 /editor/editor_help.cpp
parentc19dc39630f16ec699be89b0fd39ed64c71fd08d (diff)
parentc1674f1068f0a14390270c36d692bd3f4550b8bd (diff)
Merge pull request #22171 from DualMatrix/empty_boi_WTF_WHY
Fixed empty item slipping into Search Classes dialog
Diffstat (limited to 'editor/editor_help.cpp')
-rw-r--r--editor/editor_help.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp
index 728c4affbd..60040f641b 100644
--- a/editor/editor_help.cpp
+++ b/editor/editor_help.cpp
@@ -752,6 +752,8 @@ Error EditorHelp::_goto_desc(const String &p_class, int p_vscr) {
}
void EditorHelp::_update_doc() {
+ if (!doc->class_list.has(edited_class))
+ return;
scroll_locked = true;