diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2020-12-08 22:51:48 +0100 |
---|---|---|
committer | Tomasz Chabora <kobewi4e@gmail.com> | 2020-12-09 12:12:36 +0100 |
commit | 2c048ea16429cfa4e6b200a4fe519ee9db7c3f99 (patch) | |
tree | 5648e173188bd43a31624dda5e6e5cc02e31dbc4 /editor/plugins/script_editor_plugin.cpp | |
parent | 90bdba576af2d5f0a8ecdbef065d6ef0075bc2f2 (diff) | |
download | redot-engine-2c048ea16429cfa4e6b200a4fe519ee9db7c3f99.tar.gz |
Cleanup unused engine code
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 40ded6872a..5982074750 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -1641,17 +1641,6 @@ void ScriptEditor::get_breakpoints(List<String> *p_breakpoints) { } } -void ScriptEditor::ensure_focus_current() { - if (!is_inside_tree()) { - return; - } - - ScriptEditorBase *current = _get_current_editor(); - if (current) { - current->ensure_focus(); - } -} - void ScriptEditor::_members_overview_selected(int p_idx) { ScriptEditorBase *se = _get_current_editor(); if (!se) { |