Fix default value of dropdown

This commit is contained in:
Dean Herbert
2018-09-25 05:54:42 +09:00
parent fbda872a53
commit 56981acc92

View File

@ -77,7 +77,7 @@ namespace osu.Game.Tournament.Screens.Ladder.Components
textboxTeam2 = new OsuTextBox { RelativeSizeAxes = Axes.X, Height = 20 }, textboxTeam2 = new OsuTextBox { RelativeSizeAxes = Axes.X, Height = 20 },
groupingDropdown = new SettingsDropdown<TournamentGrouping> groupingDropdown = new SettingsDropdown<TournamentGrouping>
{ {
Bindable = new Bindable<TournamentGrouping>(), Bindable = new Bindable<TournamentGrouping> { Default = groupingOptions.First().Value },
Items = groupingOptions Items = groupingOptions
}, },
losersCheckbox = new PlayerCheckbox losersCheckbox = new PlayerCheckbox