diff --git a/Controls/UrlControl.cs b/Controls/UrlControl.cs index 9f3d94c..980789a 100644 --- a/Controls/UrlControl.cs +++ b/Controls/UrlControl.cs @@ -280,7 +280,7 @@ public void BindData() if (Files.Items.FindByText(fileName) != null) { Files.ClearSelection(); - Files.Items.FindByText(fileName).Selected = true; + Files.SelectedIndex = Files.Items.IndexOf(Files.Items.FindByText(fileName)); } } }