mirror of https://github.com/godotengine/godot
Fix redundant enter tree notification in project export texture format
This commit is contained in:
parent
6758a7f8c0
commit
4c51544d62
|
|
@ -65,7 +65,6 @@ void ProjectExportTextureFormatError::_bind_methods() {
|
||||||
|
|
||||||
void ProjectExportTextureFormatError::_notification(int p_what) {
|
void ProjectExportTextureFormatError::_notification(int p_what) {
|
||||||
switch (p_what) {
|
switch (p_what) {
|
||||||
case NOTIFICATION_ENTER_TREE:
|
|
||||||
case NOTIFICATION_THEME_CHANGED: {
|
case NOTIFICATION_THEME_CHANGED: {
|
||||||
texture_format_error_label->add_theme_color_override("font_color", get_theme_color(SNAME("error_color"), SNAME("Editor")));
|
texture_format_error_label->add_theme_color_override("font_color", get_theme_color(SNAME("error_color"), SNAME("Editor")));
|
||||||
} break;
|
} break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue