Show enum class name when not on the same doc page
Variant.Type and Variant.Operator are listed on GlobalScope page instead of Variant. The `Variant` prefix should not be omitted on that page.
This commit is contained in:
parent
3a9284b562
commit
d3851d5452
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue