Merge pull request #50586 from pycbouh/editor-theme-type-clear

Clear the theme type filter/name on each dialog popup
This commit is contained in:
Rémi Verschelde 2021-07-19 22:55:44 +02:00 committed by GitHub
commit a5c62edc14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}