Skip to content

Commit

Permalink
Fixed NSFW checkbox from not updating categories after searched
Browse files Browse the repository at this point in the history
  • Loading branch information
TekkaGB committed Sep 17, 2021
1 parent 4f32c95 commit 04a5d5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Unverum/UI/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1468,7 +1468,7 @@ private void MainFilterSelectionChanged(object sender, SelectionChangedEventArgs
filterSelect = true;
if (!searched)
{
FilterBox.ItemsSource = FilterBoxListWhenSearched;
FilterBox.ItemsSource = FilterBoxList;
FilterBox.SelectedIndex = 1;
}
// Set Categories
Expand Down Expand Up @@ -1522,7 +1522,7 @@ private void NSFWCheckbox_Checked(object sender, RoutedEventArgs e)
{
if (!filterSelect && IsLoaded)
{
if (!searched)
if (searched)
{
filterSelect = true;
FilterBox.ItemsSource = FilterBoxList;
Expand Down

0 comments on commit 04a5d5a

Please sign in to comment.