diff options
author | Michael Alexsander <michaelalexsander@protonmail.com> | 2022-03-04 19:16:33 -0300 |
---|---|---|
committer | Michael Alexsander <michaelalexsander@protonmail.com> | 2022-03-04 19:16:33 -0300 |
commit | 917dac78e76cba76165cca9b1c966e52fdd6ec3d (patch) | |
tree | 982b03d1c823d9d3f4e0676bb941e82af7bb035c /editor/project_settings_editor.cpp | |
parent | 71835906dd3965eac703137bc8e14abcaa630dfd (diff) | |
download | redot-engine-917dac78e76cba76165cca9b1c966e52fdd6ec3d.tar.gz |
Replace some bits of code left to work with the new `TabContainer`
Diffstat (limited to 'editor/project_settings_editor.cpp')
-rw-r--r-- | editor/project_settings_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp index 4d708dc7e0..7059509e72 100644 --- a/editor/project_settings_editor.cpp +++ b/editor/project_settings_editor.cpp @@ -63,7 +63,7 @@ void ProjectSettingsEditor::queue_save() { } void ProjectSettingsEditor::set_plugins_page() { - tab_container->set_current_tab(plugin_settings->get_index()); + tab_container->set_current_tab(tab_container->get_tab_idx_from_control(plugin_settings)); } void ProjectSettingsEditor::update_plugins() { |