Skip to content

Commit 2ad0090

Browse files
Set time in combox directly. Otherwise Start time not part of drop down list does not get accepted.
1 parent 79ecd11 commit 2ad0090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Menu/DownloadContentForm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ void StartButton_Click(object sender, EventArgs e)
775775
mainForm.comboBoxStartAt.SelectedIndex = determineSelectedIndex(mainForm.comboBoxStartAt, route.Start.StartingAt);
776776
mainForm.comboBoxHeadTo.SelectedIndex = determineSelectedIndex(mainForm.comboBoxHeadTo, route.Start.HeadingTo);
777777

778-
mainForm.comboBoxStartTime.SelectedIndex = determineSelectedIndex(mainForm.comboBoxStartTime, route.Start.Time);
778+
mainForm.comboBoxStartTime.Text = route.Start.Time;
779779
mainForm.comboBoxStartSeason.SelectedIndex = determineSelectedIndex(mainForm.comboBoxStartSeason, route.Start.Season);
780780
mainForm.comboBoxStartWeather.SelectedIndex = determineSelectedIndex(mainForm.comboBoxStartWeather, route.Start.Weather);
781781
}

0 commit comments

Comments
 (0)