From 814a4ee434130eb38bbedb6c9ddc40937f700bfa Mon Sep 17 00:00:00 2001 From: jabcross Date: Sat, 11 Dec 2021 16:43:05 -0300 Subject: 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. --- editor/plugins/asset_library_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'editor') diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp index 0925b34ac1..951af92467 100644 --- a/editor/plugins/asset_library_editor_plugin.cpp +++ b/editor/plugins/asset_library_editor_plugin.cpp @@ -231,6 +231,7 @@ void EditorAssetLibraryItemDescription::configure(const String &p_title, int p_a description->pop(); description->add_text("\n" + TTR("Description:") + "\n\n"); description->append_text(p_description); + description->set_selection_enabled(true); set_title(p_title); } -- cgit v1.2.3