From 2ff4b45a52884fafed93cb6c1e287a18a23a7180 Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Wed, 4 Dec 2024 09:44:16 +0100 Subject: [PATCH] Fixed small bug regarding read only of port combobox --- 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 78876c9..76fd1a0 100644 --- a/src/BreCalClient/EditShipcallControl.xaml.cs +++ b/src/BreCalClient/EditShipcallControl.xaml.cs @@ -401,7 +401,7 @@ namespace BreCalClient this.datePickerETD.IsEnabled = isAgency || isBsmd; this.labelBSMDGranted.Visibility = editRightGrantedForBSMD ? Visibility.Visible : Visibility.Hidden; - this.comboBoxHarbour.IsEnabled = this.IsCreate; + this.comboBoxHarbour.IsEnabled = this.IsCreate && this.ShipcallModel.AllowPortChange; this.comboBoxCategories_SelectionChanged(null, null); }