Fix IndexOutOfBound issue when adding new profile

This commit is contained in:
Kevin Zhang 2021-11-06 21:45:50 -05:00
parent 2c1e07065c
commit a02d020fed

View file

@ -55,8 +55,8 @@ namespace Flow.Launcher
private void btnDone_Click(object sender, RoutedEventArgs e)
{
Settings.CustomExplorerIndex = SelectedCustomExplorerIndex;
Settings.CustomExplorerList = CustomExplorers.ToList();
Settings.CustomExplorerIndex = SelectedCustomExplorerIndex;
Close();
}