MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _focus_another_editor

Method _focus_another_editor

editor/script/script_editor_plugin.cpp:4693–4698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4691}
4692
4693void ScriptEditorPlugin::_focus_another_editor() {
4694 if (window_wrapper->get_window_enabled()) {
4695 ERR_FAIL_COND(last_editor.is_empty());
4696 EditorInterface::get_singleton()->set_main_screen_editor(last_editor);
4697 }
4698}
4699
4700void ScriptEditorPlugin::_save_last_editor(const String &p_editor) {
4701 if (p_editor != get_plugin_name()) {

Callers

nothing calls this directly

Calls 3

get_window_enabledMethod · 0.80
is_emptyMethod · 0.45

Tested by

no test coverage detected