瀏覽代碼

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)
jabcross 3 年之前
父節點
當前提交
a074b66380
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      editor/plugins/asset_library_editor_plugin.cpp

+ 1 - 0
editor/plugins/asset_library_editor_plugin.cpp

@@ -245,6 +245,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_bbcode(p_description);
 	description->append_bbcode(p_description);
+	description->set_selection_enabled(true);
 	set_title(p_title);
 	set_title(p_title);
 }
 }