From 9c2ff29c4db76e52e858f5850481ea0e3f1ee7b8 Mon Sep 17 00:00:00 2001 From: Yuri Sizov Date: Sun, 18 Jul 2021 20:37:21 +0300 Subject: [PATCH] Clear the theme type filter/name on each dialog popup --- editor/plugins/theme_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/theme_editor_plugin.cpp b/editor/plugins/theme_editor_plugin.cpp index aba8932f1b3..830dbd29c19 100644 --- a/editor/plugins/theme_editor_plugin.cpp +++ b/editor/plugins/theme_editor_plugin.cpp @@ -2326,6 +2326,7 @@ void ThemeTypeEditor::_list_type_selected(int p_index) { } void ThemeTypeEditor::_add_type_button_cbk() { + add_type_filter->clear(); add_type_dialog->popup_centered(Size2(560, 420) * EDSCALE); add_type_filter->grab_focus(); }