From 0ef7808ad3ae8d34c71ad76e0999b95058f1b0cb Mon Sep 17 00:00:00 2001 From: mk Date: Wed, 16 Feb 2022 19:59:08 +1100 Subject: [PATCH] Clear server list when constructing form to remove placeholder entry. Prevents exception on startup when manual server entries are present. --- Source/Loader/Forms/MainForm.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Loader/Forms/MainForm.cs b/Source/Loader/Forms/MainForm.cs index 820d79ed..12c2c4fc 100644 --- a/Source/Loader/Forms/MainForm.cs +++ b/Source/Loader/Forms/MainForm.cs @@ -41,6 +41,7 @@ public MainForm() { InitializeComponent(); + ImportedServerListView.Items.Clear(); ImportedServerListView.ListViewItemSorter = new ServerListSorter(); MachinePrivateIp = NetUtils.GetMachineIPv4(false);