Merge pull request #21091 from hpvb/fix-removing-popup-menu-item

Call minimum_size_changed() in PopupMenu::remove_item()
This commit is contained in:
Rémi Verschelde 2018-08-17 02:27:16 +02:00 committed by GitHub
commit 68676c774d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1103,6 +1103,7 @@ void PopupMenu::remove_item(int p_idx) {
items.remove(p_idx);
update();
minimum_size_changed();
}
void PopupMenu::add_separator(const String &p_text) {