mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
fix set_current_tab: Indexp_current=-1 out of size
This commit is contained in:
parent
0aa4765904
commit
cb86f6fbf6
1 changed files with 1 additions and 1 deletions
|
@ -1583,7 +1583,7 @@ void ScriptEditor::_update_script_names() {
|
|||
}
|
||||
}
|
||||
|
||||
if (_sort_list_on_update) {
|
||||
if (_sort_list_on_update && !sedata.empty()) {
|
||||
sedata.sort();
|
||||
|
||||
// change actual order of tab_container so that the order can be rearranged by user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue