Merge pull request #80967 from aaronfranke/fix-enter-tree

Fix redundant enter tree notification in project export texture format
This commit is contained in:
Yuri Sizov 2023-08-25 14:59:04 +02:00
commit 6f90b23702
1 changed files with 0 additions and 1 deletions

View File

@ -65,7 +65,6 @@ void ProjectExportTextureFormatError::_bind_methods() {
void ProjectExportTextureFormatError::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE:
case NOTIFICATION_THEME_CHANGED: {
texture_format_error_label->add_theme_color_override("font_color", get_theme_color(SNAME("error_color"), SNAME("Editor")));
} break;