Merge pull request #29806 from sparkart/master

Bring selected script in view of open scripts list
This commit is contained in:
Rémi Verschelde 2019-06-17 15:07:27 +02:00 committed by GitHub
commit 46bff1ab54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2056,6 +2056,8 @@ bool ScriptEditor::edit(const RES &p_resource, int p_line, int p_col, bool p_gra
se->goto_line(p_line - 1);
}
}
_update_script_names();
script_list->ensure_current_is_visible();
return true;
}
}