diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-08-17 02:27:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-17 02:27:16 +0200 |
commit | 68676c774d4f3b7bfad8866a08546acf5a594cdf (patch) | |
tree | e2ab4c8aa7f37bad53a5b5ee592f152455876fae /scene/gui/popup_menu.cpp | |
parent | e46c2dbf748934e6fd09b5fbe66ac0a8665313fd (diff) | |
parent | 2d032c1562a5779f48bed92f2d51dbb9cd0791ec (diff) |
Merge pull request #21091 from hpvb/fix-removing-popup-menu-item
Call minimum_size_changed() in PopupMenu::remove_item()
Diffstat (limited to 'scene/gui/popup_menu.cpp')
-rw-r--r-- | scene/gui/popup_menu.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/popup_menu.cpp b/scene/gui/popup_menu.cpp index 89a54d41b5..436dda41a4 100644 --- a/scene/gui/popup_menu.cpp +++ b/scene/gui/popup_menu.cpp @@ -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) { |