1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fixed console error spam (about invalid edited scene index)

This commit is contained in:
Yuri Roubinsky
2021-05-26 19:28:38 +03:00
parent 27baa12670
commit af3f047f49
3 changed files with 6 additions and 4 deletions

View File

@@ -1504,8 +1504,10 @@ void ScriptEditor::_notification(int p_what) {
recent_scripts->set_as_minsize();
_update_script_colors();
_update_script_names();
if (is_inside_tree()) {
_update_script_colors();
_update_script_names();
}
} break;
case NOTIFICATION_READY: {