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

Clear the theme type filter/name on each dialog popup

This commit is contained in:
Yuri Sizov
2021-07-18 20:37:21 +03:00
parent 9636deac55
commit 9c2ff29c4d

View File

@@ -2326,6 +2326,7 @@ void ThemeTypeEditor::_list_type_selected(int p_index) {
} }
void ThemeTypeEditor::_add_type_button_cbk() { void ThemeTypeEditor::_add_type_button_cbk() {
add_type_filter->clear();
add_type_dialog->popup_centered(Size2(560, 420) * EDSCALE); add_type_dialog->popup_centered(Size2(560, 420) * EDSCALE);
add_type_filter->grab_focus(); add_type_filter->grab_focus();
} }