diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2020-04-06 01:06:10 +0200 |
---|---|---|
committer | Tomasz Chabora <kobewi4e@gmail.com> | 2020-04-06 01:19:20 +0200 |
commit | c1023157eb761efcda07c3fa2015517b8a3621e1 (patch) | |
tree | 24879a70fa719da1fadf2d3546bf6a806240f046 /editor/plugins/script_editor_plugin.cpp | |
parent | 4a0e99f19746d726a2d9282cc52879c95c5c4ae3 (diff) | |
download | redot-engine-c1023157eb761efcda07c3fa2015517b8a3621e1.tar.gz |
Remove Node.get_position_in_parent()
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-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: { |