From 7b3da2348beb3e93babe4e197c5d8fab3e7f7a3b Mon Sep 17 00:00:00 2001 From: kobewi Date: Thu, 20 Jul 2023 22:39:36 +0200 Subject: [PATCH] Use existing plugin.cfg --- editor/plugin_config_dialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugin_config_dialog.cpp b/editor/plugin_config_dialog.cpp index 6f54a1c57af..184a9233a84 100644 --- a/editor/plugin_config_dialog.cpp +++ b/editor/plugin_config_dialog.cpp @@ -72,6 +72,7 @@ void PluginConfigDialog::_on_confirmed() { String script_path = path.path_join(script_name); Ref cf = memnew(ConfigFile); + cf->load(path.path_join("plugin.cfg")); cf->set_value("plugin", "name", name_edit->get_text()); cf->set_value("plugin", "description", desc_edit->get_text()); cf->set_value("plugin", "author", author_edit->get_text());