diff --git a/OpenBullet2.Native/Views/Pages/Wordlists.xaml b/OpenBullet2.Native/Views/Pages/Wordlists.xaml index 322205b5b..b0e322917 100644 --- a/OpenBullet2.Native/Views/Pages/Wordlists.xaml +++ b/OpenBullet2.Native/Views/Pages/Wordlists.xaml @@ -40,13 +40,7 @@ Delete Not Found - - + diff --git a/OpenBullet2.Native/Views/Pages/Wordlists.xaml.cs b/OpenBullet2.Native/Views/Pages/Wordlists.xaml.cs index 552992dae..8b0b157b5 100644 --- a/OpenBullet2.Native/Views/Pages/Wordlists.xaml.cs +++ b/OpenBullet2.Native/Views/Pages/Wordlists.xaml.cs @@ -73,7 +73,6 @@ private void UpdateSearch(object sender, System.Windows.Input.KeyEventArgs e) } } - private void Search(object sender, RoutedEventArgs e) => vm.SearchString = filterTextbox.Text; public async void AddWordlist(WordlistEntity wordlist) { @@ -135,7 +134,7 @@ private async void HandleDrop(object sender, DragEventArgs e) var entity = new WordlistEntity { Name = Path.GetFileNameWithoutExtension(file), - FileName = path, + FileName = path.Replace("\\", "/"), Type = env.RecognizeWordlistType(firstLine), Purpose = string.Empty, Total = File.ReadLines(path).Count()