mirror of
https://github.com/godotengine/godot.git
synced 2024-11-23 12:43:43 +00:00
Merge pull request #21091 from hpvb/fix-removing-popup-menu-item
Call minimum_size_changed() in PopupMenu::remove_item()
This commit is contained in:
commit
68676c774d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user