mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Fix jumping to editor help does not scroll correctly sometimes
This commit is contained in:
parent
4631a617e5
commit
af92685445
2 changed files with 2 additions and 7 deletions
|
@ -3607,14 +3607,13 @@ 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());
|
||||
_sort_list_on_update = true;
|
||||
_update_script_names();
|
||||
_save_layout();
|
||||
|
||||
callable_mp(this, &ScriptEditor::_help_tab_goto).call_deferred(cname, p_desc);
|
||||
}
|
||||
|
||||
bool ScriptEditor::_help_tab_goto(const String &p_name, const String &p_desc) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue