1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

Allow selection in asset description

Many assets include links in the description.
This change enables selection for the links,
and other information such as version numbers,
to be copied/pasted.

(cherry picked from commit 814a4ee434)
This commit is contained in:
jabcross
2021-12-11 16:43:05 -03:00
committed by Rémi Verschelde
parent d0a5580321
commit a074b66380

View File

@@ -245,6 +245,7 @@ void EditorAssetLibraryItemDescription::configure(const String &p_title, int p_a
description->pop();
description->add_text("\n" + TTR("Description:") + "\n\n");
description->append_bbcode(p_description);
description->set_selection_enabled(true);
set_title(p_title);
}