summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authoraXu-AP <1621768+aXu-AP@users.noreply.github.com>2023-09-29 00:03:18 +0300
committeraXu-AP <1621768+aXu-AP@users.noreply.github.com>2023-09-29 00:03:18 +0300
commit0506d6f19279b54bf1464a77614fc9b27898aaf5 (patch)
tree895ba224bf95ac7bb94517bc2940f146184af161 /editor/plugins/script_editor_plugin.cpp
parentfbe611e45eebe48e2fdf4065fc70acad1cca2e0e (diff)
downloadredot-engine-0506d6f19279b54bf1464a77614fc9b27898aaf5.tar.gz
Fix opening docs writing extra navigation history
Fix #82292 Removes extraneous call to change the tab if the page wasn't yet open when opening class member description.
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r--editor/plugins/script_editor_plugin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp
index 901ac91a46..dbbb34614d 100644
--- a/editor/plugins/script_editor_plugin.cpp
+++ b/editor/plugins/script_editor_plugin.cpp
@@ -3378,7 +3378,6 @@ void ScriptEditor::_help_class_goto(const String &p_desc) {
eh->set_name(cname);
tab_container->add_child(eh);
- _go_to_tab(tab_container->get_tab_count() - 1);
eh->go_to_help(p_desc);
eh->connect("go_to_help", callable_mp(this, &ScriptEditor::_help_class_goto));
_add_recent_script(eh->get_class());