diff options
author | Zae <zaevi@live.com> | 2021-12-11 23:23:40 +0800 |
---|---|---|
committer | Zae <zaevi@live.com> | 2021-12-11 23:23:40 +0800 |
commit | 1ee516995f6e5b65e342b0ffe345b47a2eb99591 (patch) | |
tree | c7d0aa568cfdf5effad68e7e123be9b04c1e2aa7 /editor | |
parent | 092a2861277e7df87aec10516d713d0bf4adba79 (diff) |
Fix `PluginConfigDialog` UI broken
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugin_config_dialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugin_config_dialog.cpp b/editor/plugin_config_dialog.cpp index c99b34e0c2..ad22aafb2b 100644 --- a/editor/plugin_config_dialog.cpp +++ b/editor/plugin_config_dialog.cpp @@ -216,6 +216,7 @@ void PluginConfigDialog::config(const String &p_config_path) { active_edit->hide(); Object::cast_to<Label>(active_edit->get_parent()->get_child(active_edit->get_index() - 2))->hide(); subfolder_edit->hide(); + subfolder_validation->hide(); Object::cast_to<Label>(subfolder_edit->get_parent()->get_child(subfolder_edit->get_index() - 2))->hide(); set_title(TTR("Edit a Plugin")); } else { @@ -224,6 +225,7 @@ void PluginConfigDialog::config(const String &p_config_path) { active_edit->show(); Object::cast_to<Label>(active_edit->get_parent()->get_child(active_edit->get_index() - 2))->show(); subfolder_edit->show(); + subfolder_validation->show(); Object::cast_to<Label>(subfolder_edit->get_parent()->get_child(subfolder_edit->get_index() - 2))->show(); set_title(TTR("Create a Plugin")); } |