diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-09-20 15:03:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-20 15:03:13 +0200 |
commit | 48ace81d7b79c0428295df276c649df143ca0c3b (patch) | |
tree | c21fce309b132af37a3b8697af46c8e72ec1ffd7 /editor | |
parent | c19dc39630f16ec699be89b0fd39ed64c71fd08d (diff) | |
parent | c1674f1068f0a14390270c36d692bd3f4550b8bd (diff) |
Merge pull request #22171 from DualMatrix/empty_boi_WTF_WHY
Fixed empty item slipping into Search Classes dialog
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_help.cpp | 2 |
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; |