Browse Source

Merge pull request #22074 from willnationsdev/plugin-description

Add EditorPlugin descriptions to their tooltip
Rémi Verschelde 7 năm trước cách đây
mục cha
commit
1eed12f6d8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      editor/editor_plugin_settings.cpp

+ 1 - 1
editor/editor_plugin_settings.cpp

@@ -117,7 +117,7 @@ void EditorPluginSettings::update_plugins() {
 
 			TreeItem *item = plugin_list->create_item(root);
 			item->set_text(0, name);
-			item->set_tooltip(0, "Name: " + name + "\nPath: " + path + "\nMain Script: " + script);
+			item->set_tooltip(0, "Name: " + name + "\nPath: " + path + "\nMain Script: " + script + "\nDescription: " + description);
 			item->set_metadata(0, d);
 			item->set_text(1, version);
 			item->set_metadata(1, script);