Skip to content

Commit

Permalink
Possible fix for #3
Browse files Browse the repository at this point in the history
  • Loading branch information
srwi committed Oct 6, 2020
1 parent ce84d5a commit fabd9d6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions EverythingToolbar/ToolbarControl.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@ public ToolbarControl(Edge edge)
{
InitializeComponent();
taskbarEdge = edge;

// Fixes #3
if (Properties.Settings.Default.sortBy < 1)
{
Properties.Settings.Default.sortBy = 1;
Properties.Settings.Default.Save();
}

(SortByMenu.Items[Properties.Settings.Default.sortBy - 1] as MenuItem).IsChecked = true;
}

Expand Down

0 comments on commit fabd9d6

Please sign in to comment.