Skip to content

Commit

Permalink
Fix opening docs writing extra navigation history
Browse files Browse the repository at this point in the history
Fix #82292
Removes extraneous call to change the tab if the page wasn't yet open when opening class member description.
  • Loading branch information
aXu-AP committed Sep 28, 2023
1 parent fbe611e commit 0506d6f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion editor/plugins/script_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 0506d6f

Please sign in to comment.