Quellcode durchsuchen

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.
aXu-AP vor 1 Jahr
Ursprung
Commit
0506d6f192
1 geänderte Dateien mit 0 neuen und 1 gelöschten Zeilen
  1. 0 1
      editor/plugins/script_editor_plugin.cpp

+ 0 - 1
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());