1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Merge pull request #20668 from SaracenOne/enum_help_fix

Fixes the hyperlinks for enumerators inside classes in the editor help.
This commit is contained in:
Rémi Verschelde
2018-08-13 12:22:21 +02:00
committed by GitHub

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";
} }