Skip to content

Commit

Permalink
Clear entity browser dropdown selection after resetting property
Browse files Browse the repository at this point in the history
  • Loading branch information
shomykohai authored Jun 30, 2024
1 parent 87b1cdd commit 42c0c80
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 42c0c80

Please sign in to comment.