Fix for debugging typed dictionaries

This commit is contained in:
Elise 2025-05-08 21:11:23 +10:00
parent 0793c626d2
commit 057759d413
2 changed files with 2 additions and 4 deletions

View file

@ -1387,7 +1387,7 @@ void EditorPropertyDictionary::update_property() {
Variant::Type value_type;
if (dict.is_typed_value() && slot.prop_key) {
if (dict.is_typed_value() && value_subtype != Variant::NIL && slot.prop_key) {
value_type = value_subtype;
} else {
value_type = value.get_type();