From 208d74f9e3929bea7b6f99ef74e47461b9354c29 Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Tue, 9 Jul 2024 11:54:15 +0200 Subject: [PATCH] When creating a new shipcall 'Geeste' is the default time ref point --- src/BreCalClient/EditShipcallControl.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BreCalClient/EditShipcallControl.xaml.cs b/src/BreCalClient/EditShipcallControl.xaml.cs index 7f0acf1..052dfaa 100644 --- a/src/BreCalClient/EditShipcallControl.xaml.cs +++ b/src/BreCalClient/EditShipcallControl.xaml.cs @@ -289,7 +289,7 @@ namespace BreCalClient if (this.ShipcallModel == null) return; if (this.ShipcallModel.Shipcall != null) { - this.comboBoxTimeRef.SelectedIndex = this.ShipcallModel.Shipcall.TimeRefPoint ?? 0; + this.comboBoxTimeRef.SelectedIndex = this.ShipcallModel.Shipcall.TimeRefPoint ?? 1; this.comboBoxCategories.SelectedItem = new EnumToStringConverter().Convert(this.ShipcallModel.Shipcall.Type, typeof(ShipcallType), new object(), System.Globalization.CultureInfo.CurrentCulture); if (this.ShipcallModel.Shipcall.Eta != DateTime.MinValue) this.datePickerETA.Value = this.ShipcallModel.Shipcall.Eta;