From 8029aeeac34e82f03330a2903a7951212799a1a8 Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Wed, 5 Mar 2025 12:05:04 +0100 Subject: [PATCH] Small corrections for testing feedback --- .../EditControls/SelectPortAreaDialog.xaml.cs | 2 +- ENI2/SheetDisplayControls/PortControl.xaml | 23 +++++++------ ENI2/SheetDisplayControls/PortControl.xaml.cs | 1 + .../PreArrivalControl.xaml | 2 +- .../PreDepartureControl.xaml | 32 +++++++++---------- ENI2/SheetDisplayControls/VoyageControl.xaml | 4 +-- .../VoyageControl.xaml.cs | 15 +++++++-- bsmd.database/NOA_NOD.cs | 2 +- bsmd.database/PRE72H.cs | 2 +- bsmd.database/SEC.cs | 2 +- 10 files changed, 49 insertions(+), 36 deletions(-) diff --git a/ENI2/EditControls/SelectPortAreaDialog.xaml.cs b/ENI2/EditControls/SelectPortAreaDialog.xaml.cs index 9f9d85c4..c0ea161f 100644 --- a/ENI2/EditControls/SelectPortAreaDialog.xaml.cs +++ b/ENI2/EditControls/SelectPortAreaDialog.xaml.cs @@ -65,7 +65,7 @@ namespace ENI2.EditControls private void textBoxSearchDescription_TextChanged(object sender, System.Windows.Controls.TextChangedEventArgs e) { string searchText = this.textBoxSearchDescription.Text.Trim(); - + if (_portAreas == null) return; lock (filterLock) { IEnumerable filtered = _portAreas; diff --git a/ENI2/SheetDisplayControls/PortControl.xaml b/ENI2/SheetDisplayControls/PortControl.xaml index 52f75260..5202b86d 100644 --- a/ENI2/SheetDisplayControls/PortControl.xaml +++ b/ENI2/SheetDisplayControls/PortControl.xaml @@ -207,6 +207,7 @@ + @@ -214,18 +215,20 @@