You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-25 15:37:42 +00:00
Replace some bits of code left to work with the new TabContainer
This commit is contained in:
@@ -337,7 +337,7 @@ void EditorResourcePicker::_edit_menu_cbk(int p_which) {
|
||||
|
||||
// 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: {
|
||||
|
||||
Reference in New Issue
Block a user