summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjabcross <pedrociambra@gmail.com>2021-12-11 16:43:05 -0300
committerjabcross <pedrociambra@gmail.com>2021-12-11 16:43:05 -0300
commit814a4ee434130eb38bbedb6c9ddc40937f700bfa (patch)
tree7a9772eb949d7266890c27ee04ed19f00a114484
parent092a2861277e7df87aec10516d713d0bf4adba79 (diff)
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.
-rw-r--r--editor/plugins/asset_library_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
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);
}