Merge pull request #34349 from timothyqiu/enum-scope

Show full enum name when not on the same doc page
This commit is contained in:
Rémi Verschelde 2019-12-15 13:08:41 +01:00 committed by GitHub
commit d8d96c9fa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -798,7 +798,7 @@ void EditorHelp::_update_doc() {
class_desc->pop();
class_desc->push_font(doc_code_font);
String e = E->key();
if (e.get_slice_count(".")) {
if ((e.get_slice_count(".") > 1) && (e.get_slice(".", 0) == edited_class)) {
e = e.get_slice(".", 1);
}