Fixes the hyperlinks for enumerators inside classes in the editor help.

This commit is contained in:
Saracen 2018-08-02 09:40:36 +01:00
parent 6c569c90b6
commit 63c6a2487f

View file

@ -541,6 +541,7 @@ void EditorHelp::_class_desc_select(const String &p_select) {
String class_name; String class_name;
if (select.find(".") != -1) { if (select.find(".") != -1) {
class_name = select.get_slice(".", 0); class_name = select.get_slice(".", 0);
select = select.get_slice(".", 1);
} else { } else {
class_name = "@GlobalScope"; class_name = "@GlobalScope";
} }