Skip to content

Commit

Permalink
Restart search when changing settings
Browse files Browse the repository at this point in the history
  • Loading branch information
srwi committed Nov 4, 2020
1 parent 59a3fde commit 31ca514
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions EverythingToolbar/ToolbarControl.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ private void OpenAboutWindow(object sender, RoutedEventArgs e)
private void MenuItem_Click(object sender, RoutedEventArgs e)
{
Properties.Settings.Default.Save();
StartSearch(EverythingSearch.Instance.SearchTerm);
}

private void MenuItem_SortBy_Click(object sender, RoutedEventArgs e)
Expand All @@ -171,6 +172,7 @@ private void MenuItem_SortBy_Click(object sender, RoutedEventArgs e)
}

Properties.Settings.Default.Save();
StartSearch(EverythingSearch.Instance.SearchTerm);
}

public void LoadThemes()
Expand Down

0 comments on commit 31ca514

Please sign in to comment.