You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +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.
This commit is contained in:
@@ -231,6 +231,7 @@ void EditorAssetLibraryItemDescription::configure(const String &p_title, int p_a
|
|||||||
description->pop();
|
description->pop();
|
||||||
description->add_text("\n" + TTR("Description:") + "\n\n");
|
description->add_text("\n" + TTR("Description:") + "\n\n");
|
||||||
description->append_text(p_description);
|
description->append_text(p_description);
|
||||||
|
description->set_selection_enabled(true);
|
||||||
set_title(p_title);
|
set_title(p_title);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user