Skip to content

Commit

Permalink
DropdownAdapter: Updating options no longer updates the selection
Browse files Browse the repository at this point in the history
This was causing an issue where, on initialisation, the default option would always be selected.
  • Loading branch information
RoryDungan committed Jan 29, 2018
1 parent 54f3cae commit 93d26fd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions UnityWeld/Binding/DropdownBinding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,6 @@ private void UpdateOptions()
dropdown.options = options
.Select(option => new Dropdown.OptionData(option))
.ToList();

UpdateSelectedOption();
}

/// <summary>
Expand Down

0 comments on commit 93d26fd

Please sign in to comment.