From 93d26fd216ea5d1e5731aed9f04b87e7a114c717 Mon Sep 17 00:00:00 2001 From: Rory Dungan Date: Mon, 29 Jan 2018 17:12:50 +1000 Subject: [PATCH] DropdownAdapter: Updating options no longer updates the selection This was causing an issue where, on initialisation, the default option would always be selected. --- UnityWeld/Binding/DropdownBinding.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/UnityWeld/Binding/DropdownBinding.cs b/UnityWeld/Binding/DropdownBinding.cs index e8695f5..ac026f4 100644 --- a/UnityWeld/Binding/DropdownBinding.cs +++ b/UnityWeld/Binding/DropdownBinding.cs @@ -208,8 +208,6 @@ private void UpdateOptions() dropdown.options = options .Select(option => new Dropdown.OptionData(option)) .ToList(); - - UpdateSelectedOption(); } ///