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.
This commit is contained in:
jabcross 2021-12-11 16:43:05 -03:00
parent 092a286127
commit 814a4ee434

View file

@ -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);
}