diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-12-15 13:08:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-15 13:08:41 +0100 |
commit | d8d96c9fa78395db8cf8eca65439ee1dfe18a424 (patch) | |
tree | f1f6880161db6c4948676e0e8aa50b6c7e2ae8dd /editor | |
parent | e9474715c02fb83ff39dcce7677d3f0766640e9d (diff) | |
parent | d3851d5452ae14f6c1b57a9b60efcbf594db0f0c (diff) |
Merge pull request #34349 from timothyqiu/enum-scope
Show full enum name when not on the same doc page
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_help.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp index 9b7f255e46..bbbb50297f 100644 --- a/editor/editor_help.cpp +++ b/editor/editor_help.cpp @@ -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); } |