Fix "Name" popup's size in theme editor

This commit is contained in:
Michael Alexsander Silva Dias 2019-04-23 20:21:31 -03:00
parent 80f91c9d36
commit dac9a5ba96

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