X Tutup
Skip to content

Enable objects stored as dictionary keys to be selected in inspector.#110291

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
StarryWorm:for-merge
Sep 19, 2025
Merged

Enable objects stored as dictionary keys to be selected in inspector.#110291
Repiteo merged 1 commit intogodotengine:masterfrom
StarryWorm:for-merge

Conversation

@StarryWorm
Copy link
Contributor

Resolves #109873

Enable objects stored as dictionary keys to be selected in inspector. New behavior matches existing behavior for objects stored as dictionary values.

Currently, when using the stack trace or the remote scene tree and selecting an
object containing a dictionary, secondary objects that are stored as values in
the dictionary can be opened in inspector by clicking on them. However,
attempting to open the same secondary object if it is stored as a key in the
dictionary will result in nothing happening.

This is fixed by connecting keys to the "object_id_selected" signal the same
way values are connected.
@StarryWorm StarryWorm requested a review from a team September 6, 2025 14:10
@KoBeWi KoBeWi added this to the 4.6 milestone Sep 7, 2025
@Repiteo Repiteo merged commit 835a709 into godotengine:master Sep 19, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Sep 19, 2025

Thanks! Congratulations on your first merged contribution! 🎉

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.

Cannot access objects that are stored as dictionary keys

3 participants

X Tutup