Fixed the bug where the preset selection would freeze at any refresh

This commit is contained in:
2023-06-05 11:16:17 +02:00
parent a340f42ec4
commit 071ac2fe17
+1
View File
@@ -404,6 +404,7 @@ namespace TrackTrends
private void lsbPresets_SelectedIndexChanged(object sender, EventArgs e) private void lsbPresets_SelectedIndexChanged(object sender, EventArgs e)
{ {
if (lsbPresets.SelectedIndex >= 0)
SelectedConfigFile = (string)lsbPresets.Items[lsbPresets.SelectedIndex]; SelectedConfigFile = (string)lsbPresets.Items[lsbPresets.SelectedIndex];
} }