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.id_focused signal using index as ID #97890

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

timothyqiu
Copy link
Member

As the name and documentation suggests, the argument of id_focused should be the ID of the menu item. But it's currently using the index instead.

OptionButton.item_focused signal uses index, so the implementation has been changed to accommodate this fix.

@timothyqiu timothyqiu added this to the 4.4 milestone Oct 6, 2024
@timothyqiu timothyqiu requested a review from a team as a code owner October 6, 2024 16:26
@timothyqiu timothyqiu added the cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release label Oct 7, 2024
@Repiteo Repiteo merged commit b1526f4 into godotengine:master Nov 12, 2024
19 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Nov 12, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release topic:gui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants