Merge pull request #37556 from KoBeWi/kill_get_index
Remove Node.get_position_in_parent()
This commit is contained in:
commit
6b07c72d76
11 changed files with 18 additions and 32 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue