Merge pull request #82498 from aXu-AP/docs-double-navigation

Fix opening docs writing extra navigation history
This commit is contained in:
Rémi Verschelde 2024-01-09 15:30:38 +01:00
commit ee42c9e7ef
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -3386,7 +3386,6 @@ void ScriptEditor::_help_class_goto(const String &p_desc) {
eh->set_name(cname); eh->set_name(cname);
tab_container->add_child(eh); tab_container->add_child(eh);
_go_to_tab(tab_container->get_tab_count() - 1);
eh->go_to_help(p_desc); eh->go_to_help(p_desc);
eh->connect("go_to_help", callable_mp(this, &ScriptEditor::_help_class_goto)); eh->connect("go_to_help", callable_mp(this, &ScriptEditor::_help_class_goto));
_add_recent_script(eh->get_class()); _add_recent_script(eh->get_class());