From 3aa0a78f7348d685f2baf9287093d090a6ec1e8d Mon Sep 17 00:00:00 2001 From: Rindbee Date: Tue, 26 Jul 2022 10:28:44 +0800 Subject: [PATCH] Fix repeatedly opening the Advanced Import Settings dialog for fonts getting an error --- editor/import/dynamic_font_import_settings.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/import/dynamic_font_import_settings.cpp b/editor/import/dynamic_font_import_settings.cpp index ee13a1a9c1d..043681aa877 100644 --- a/editor/import/dynamic_font_import_settings.cpp +++ b/editor/import/dynamic_font_import_settings.cpp @@ -971,6 +971,7 @@ void DynamicFontImportSettings::open_settings(const String &p_path) { base_path = p_path; inspector_vars->edit(nullptr); + inspector_text->edit(nullptr); inspector_general->edit(nullptr); text_settings_data.instantiate();