Fix #110464: rna_idprop_ui_create() fails to create new string property #110935
@ -90,7 +90,7 @@ def rna_idprop_ui_create(
|
||||
ui_data = item.id_properties_ui(prop)
|
||||
proptype, _ = rna_idprop_value_item_type(default)
|
||||
|
||||
if proptype is bool:
|
||||
if proptype is bool or str:
|
||||
ui_data = item.id_properties_ui(prop)
|
||||
ui_data.update(
|
||||
description=description,
|
||||
|
Loading…
Reference in New Issue
Block a user