diff --git a/SyncKusto/MainForm.Designer.cs b/SyncKusto/MainForm.Designer.cs index a822540..4528496 100644 --- a/SyncKusto/MainForm.Designer.cs +++ b/SyncKusto/MainForm.Designer.cs @@ -150,7 +150,7 @@ private void InitializeComponent() this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(81, 13); this.label2.TabIndex = 6; - this.label2.Text = "Build 20240422"; + this.label2.Text = "Build 20240423"; // // spcTargetHolder // diff --git a/SyncKusto/SettingsWrapper.cs b/SyncKusto/SettingsWrapper.cs index 56bab5e..6771feb 100644 --- a/SyncKusto/SettingsWrapper.cs +++ b/SyncKusto/SettingsWrapper.cs @@ -294,6 +294,8 @@ private static List AddRecentItem(List itemList, string item) return itemList; } + item = item.Trim(); + if (itemList.Contains(item)) { // To bubble this to the top we'll first remove it from the list and then the next