From 9f479f096cb50fa8d1215e68c262f110116114ef Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Thu, 18 Jan 2018 21:37:17 +0100 Subject: Fix typos in code and docs with codespell Using v1.11.0 from https://github.com/lucasdemarchi/codespell --- editor/editor_node.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editor/editor_node.cpp') diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 621364d90..2f0c41c6e 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -369,7 +369,7 @@ void EditorNode::_notification(int p_what) { search_button->set_icon(gui_base->get_icon("Search", "EditorIcons")); object_menu->set_icon(gui_base->get_icon("Tools", "EditorIcons")); - // clear_button->set_icon(gui_base->get_icon("Close", "EditorIcons")); dont have access to that node. needs to become a class property + // clear_button->set_icon(gui_base->get_icon("Close", "EditorIcons")); don't have access to that node. needs to become a class property update_menu->set_icon(gui_base->get_icon("Collapse", "EditorIcons")); dock_tab_move_left->set_icon(theme->get_icon("Back", "EditorIcons")); dock_tab_move_right->set_icon(theme->get_icon("Forward", "EditorIcons")); @@ -4239,7 +4239,7 @@ void EditorNode::_bottom_panel_switch(bool p_enable, int p_idx) { bottom_panel_items[i].button->set_pressed(i == p_idx); bottom_panel_items[i].control->set_visible(i == p_idx); } - if (ScriptEditor::get_singleton()->get_debugger() == bottom_panel_items[p_idx].control) { // this is the debug panel wich uses tabs, so the top section should be smaller + if (ScriptEditor::get_singleton()->get_debugger() == bottom_panel_items[p_idx].control) { // this is the debug panel which uses tabs, so the top section should be smaller bottom_panel->add_style_override("panel", gui_base->get_stylebox("BottomPanelDebuggerOverride", "EditorStyles")); } else { bottom_panel->add_style_override("panel", gui_base->get_stylebox("panel", "TabContainer")); -- cgit v1.2.3-70-g09d2