Revert change to avoid conflict with another PR

This commit is contained in:
Berkan Diler 2020-01-31 18:51:29 +01:00
parent 9596030e1d
commit 6d30e425a1

View File

@ -321,7 +321,7 @@ namespace osu.Game.Overlays
private void selectTab(int index)
{
var channel = ChannelTabControl.Items.ElementAtOrDefault(index);
var channel = ChannelTabControl.Items.Skip(index).FirstOrDefault();
if (channel != null && !(channel is ChannelSelectorTabItem.ChannelSelectorTabChannel))
ChannelTabControl.Current.Value = channel;
}