diff --git a/ViewModels/MainWindowViewModel.cs b/ViewModels/MainWindowViewModel.cs index 65e6abc..d4703b7 100644 --- a/ViewModels/MainWindowViewModel.cs +++ b/ViewModels/MainWindowViewModel.cs @@ -37,6 +37,13 @@ public MainWindowViewModel(ILogger logger) ); FileMakerClips = []; + FileMakerClips.CollectionChanged += (sender, e) => + { + // reset search text, which will trigger a property notify changed + // that will re-run the search with empty value (which shows all) + SearchText = string.Empty; + }; + FilteredClips = []; LoadClips(CurrentPath);