Skip to content

Commit

Permalink
Clear entity browser dropdown selection after resetting property (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
shomykohai authored Jul 2, 2024
1 parent 87b1cdd commit fc8a2e8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ func _update_property() -> void:
func _update_deferred() -> void:
var current_entity = get_edited_object()[get_edited_property()] as PandoraEntity
if current_entity == null:
property_control.select(-1)
return
for id in ids_to_entities.keys():
if ids_to_entities[id].get_entity_id() == current_entity.get_entity_id():
Expand Down

0 comments on commit fc8a2e8

Please sign in to comment.