1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #110291 from StarryWorm/for-merge

Enable objects stored as dictionary keys to be selected in inspector.
This commit is contained in:
Thaddeus Crews
2025-09-18 21:02:33 -05:00

View File

@@ -1345,6 +1345,7 @@ void EditorPropertyDictionary::update_property() {
}
new_prop->set_read_only(true);
new_prop->set_selectable(false);
new_prop->connect(SNAME("object_id_selected"), callable_mp(this, &EditorPropertyDictionary::_object_id_selected));
new_prop->set_focus_mode(Control::FOCUS_ACCESSIBILITY);
new_prop->set_draw_background(false);
new_prop->set_use_folding(is_using_folding());