Merge pull request #28363 from YeldhamDev/themeeditor_namepopup_size_fix

Fix "Name" popup's size in theme editor
This commit is contained in:
Michael Alexsander Silva Dias 2019-04-24 17:22:18 -03:00 committed by GitHub
commit 11bac340d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,7 @@ void ThemeEditor::_name_menu_about_to_show() {
}
name_menu->get_popup()->clear();
name_menu->get_popup()->set_size(Size2());
for (List<StringName>::Element *E = names.front(); E; E = E->next()) {
name_menu->get_popup()->add_item(E->get());