summaryrefslogtreecommitdiff
path: root/editor/editor_properties.cpp
diff options
context:
space:
mode:
authorTomasz Chabora <kobewi4e@gmail.com>2020-04-06 01:06:10 +0200
committerTomasz Chabora <kobewi4e@gmail.com>2020-04-06 01:19:20 +0200
commitc1023157eb761efcda07c3fa2015517b8a3621e1 (patch)
tree24879a70fa719da1fadf2d3546bf6a806240f046 /editor/editor_properties.cpp
parent4a0e99f19746d726a2d9282cc52879c95c5c4ae3 (diff)
Remove Node.get_position_in_parent()
Diffstat (limited to 'editor/editor_properties.cpp')
-rw-r--r--editor/editor_properties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp
index 1f3ff1b332..cf478f20e5 100644
--- a/editor/editor_properties.cpp
+++ b/editor/editor_properties.cpp
@@ -2196,7 +2196,7 @@ void EditorPropertyResource::_menu_option(int p_which) {
file_system_dock->navigate_to_path(res->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_position_in_parent());
+ tab_container->set_current_tab(file_system_dock->get_index());
} break;
default: {