diff --git a/src/BreCalClient/EditShipcallControl.xaml.cs b/src/BreCalClient/EditShipcallControl.xaml.cs index bbb6312..6f4dbc9 100644 --- a/src/BreCalClient/EditShipcallControl.xaml.cs +++ b/src/BreCalClient/EditShipcallControl.xaml.cs @@ -123,6 +123,7 @@ namespace BreCalClient this.comboBoxDepartureBerth.SelectedIndex = -1; this.comboBoxDepartureBerth.IsEnabled = false; this.comboBoxArrivalBerth.IsEnabled = true; + this.comboBoxTimeRef.IsEnabled = true; break; case ShipcallType.Departure: this.datePickerETA.IsEnabled = false; @@ -131,12 +132,16 @@ namespace BreCalClient this.comboBoxArrivalBerth.SelectedIndex = -1; this.comboBoxArrivalBerth.IsEnabled = false; this.comboBoxDepartureBerth.IsEnabled = true; + this.comboBoxTimeRef.IsEnabled = false; + this.comboBoxTimeRef.SelectedIndex = 0; break; case ShipcallType.Shifting: this.datePickerETA.IsEnabled = true; this.datePickerETD.IsEnabled = true; this.comboBoxArrivalBerth.IsEnabled = true; this.comboBoxDepartureBerth.IsEnabled = true; + this.comboBoxTimeRef.IsEnabled = false; + this.comboBoxTimeRef.SelectedIndex = 0; break; } }