From a074b663800402500c1dacdc115c6e408b8a7770 Mon Sep 17 00:00:00 2001 From: jabcross Date: Sat, 11 Dec 2021 16:43:05 -0300 Subject: [PATCH] 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 814a4ee434130eb38bbedb6c9ddc40937f700bfa) --- editor/plugins/asset_library_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp index 8c882b78c87..74b6733dc42 100644 --- a/editor/plugins/asset_library_editor_plugin.cpp +++ b/editor/plugins/asset_library_editor_plugin.cpp @@ -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); }