diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-04 23:39:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-04 23:39:25 +0100 |
commit | c9d052330291b726660f3ac397ec82dbcf638bf0 (patch) | |
tree | 4bf0ce2b223507fd22e0e832ce835243d54ea52e /editor/property_editor.cpp | |
parent | 27377170d2808358d6eaf7f62415711d0d379819 (diff) | |
parent | 917dac78e76cba76165cca9b1c966e52fdd6ec3d (diff) |
Merge pull request #58770 from YeldhamDev/some_crumbles_left
Replace some bits of code left to work with the new `TabContainer`
Diffstat (limited to 'editor/property_editor.cpp')
-rw-r--r-- | editor/property_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp index cd65ee7ae6..0282504c70 100644 --- a/editor/property_editor.cpp +++ b/editor/property_editor.cpp @@ -228,7 +228,7 @@ void CustomPropertyEditor::_menu_option(int p_which) { file_system_dock->navigate_to_path(r->get_path()); // Ensure that the FileSystem dock is visible. TabContainer *tab_container = (TabContainer *)file_system_dock->get_parent_control(); - tab_container->set_current_tab(file_system_dock->get_index()); + tab_container->set_current_tab(tab_container->get_tab_idx_from_control(file_system_dock)); } break; default: { if (p_which >= CONVERT_BASE_ID) { |