瀏覽代碼

Add EditorPlugin descriptions to their tooltip

Will Nations 7 年之前
父節點
當前提交
d26de79f4e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);