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:
commit
a5c62edc14
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue