diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-04-06 09:44:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 09:44:38 +0200 |
commit | 6b07c72d760a90acd862f636ac44b6945b8fa45b (patch) | |
tree | 283c18d31c448a2db93b84d2df7202333f783ac3 /editor/plugins | |
parent | 11f31a732922571bf6e0398a5192132ae67aee16 (diff) | |
parent | c1023157eb761efcda07c3fa2015517b8a3621e1 (diff) |
Merge pull request #37556 from KoBeWi/kill_get_index
Remove Node.get_position_in_parent()
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index dd80fff008..0b97ade278 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -1243,7 +1243,7 @@ void ScriptEditor::_menu_option(int p_option) { file_system_dock->navigate_to_path(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_position_in_parent()); + tab_container->set_current_tab(file_system_dock->get_index()); } } break; case CLOSE_DOCS: { |