Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PopupMenu items id range in inspector #54647

Merged
merged 1 commit into from
Jan 8, 2022

Conversation

rafallus
Copy link
Contributor

@rafallus rafallus commented Nov 5, 2021

Range was starting with 1. Changed to 0
Also initialize items ids when allocating new items by calling set_item_count(). This is an improvement to a previous PR #54533

@rafallus rafallus requested a review from a team as a code owner November 5, 2021 22:33
@YeldhamDev YeldhamDev added this to the 4.0 milestone Nov 5, 2021
scene/gui/popup_menu.cpp Outdated Show resolved Hide resolved
@akien-mga akien-mga merged commit cb7dadd into godotengine:master Jan 8, 2022
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants