Fixed empty item slipping into Search Classes dialog

Fixed empty item slipping into Search Classes dialog.

Phew tracking this down was weird.
This commit is contained in:
DualMatrix 2018-09-17 00:17:07 +02:00
parent 5614692a1a
commit c1674f1068
1 changed files with 2 additions and 0 deletions

View File

@ -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;