diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml index bf9535820..18fc33675 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml @@ -64,7 +64,7 @@ Directory Recursive Search Engine Index Search Engine Open Windows Index Option - Ignored File Types (comma seperated) + Excluded File Types (comma seperated) For example: exe,jpg,png diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs b/Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs index b0f0c6c75..729e05ba0 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs @@ -518,7 +518,8 @@ namespace Flow.Launcher.Plugin.Explorer.ViewModels get => Settings.ExcludedFileTypes; set { - string sanitized = string.IsNullOrEmpty(value) ? value : value.Replace(" ", "").Replace(".", ""); + // remove spaces and dots from the string before saving + string sanitized = string.IsNullOrEmpty(value) ? "" : value.Replace(" ", "").Replace(".", ""); Settings.ExcludedFileTypes = sanitized; OnPropertyChanged(); }