From 8614596693bd8f8c22f45004e7498800245387c0 Mon Sep 17 00:00:00 2001 From: TylerGoeringer Date: Sat, 10 Sep 2022 13:17:19 -0700 Subject: [PATCH] Stop clearing the filter when clearing --- MewsiferConsole/FilterView.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MewsiferConsole/FilterView.cs b/MewsiferConsole/FilterView.cs index cb2aea3..b64bb4c 100644 --- a/MewsiferConsole/FilterView.cs +++ b/MewsiferConsole/FilterView.cs @@ -168,7 +168,7 @@ public void ApplySort(PropertyDescriptor property, ListSortDirection direction) public void Clear() { ViewModel.Clear(); - ApplyFilter("", true); + ApplyFilter(Filter ?? "", true); } public bool Contains(object? value)