1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used

This commit is contained in:
kobewi
2024-03-21 14:39:50 +01:00
parent 1a1cc0f7b0
commit d32d2e9b51
37 changed files with 7 additions and 72 deletions

View File

@@ -922,7 +922,6 @@ Error ExportTemplateManager::install_android_template_from_file(const String &p_
void ExportTemplateManager::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE:
case NOTIFICATION_THEME_CHANGED: {
current_value->add_theme_font_override(SceneStringName(font), get_theme_font(SNAME("main"), EditorStringName(EditorFonts)));
current_missing_label->add_theme_color_override(SceneStringName(font_color), get_theme_color(SNAME("error_color"), EditorStringName(Editor)));