Skip to content

Commit

Permalink
Fix arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
xM4ddy committed May 17, 2024
1 parent 8397e09 commit 73f47f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ private void InitializeKeys()
// Show Bing Results in Windows Search (Inverted, 1 == Disabled)
bool key14 = CreateKey("Software\\Policies\\Microsoft\\Windows\\Explorer", "DisableSearchBoxSuggestions");
bool key15 = CreateKey(cur_ver + "Search", "BingSearchEnabled");
cb11.IsChecked = key14 && key15;
cb11.IsChecked = !key14 && key15;

// Disable Edge desktop search widget bar
bool key16 = CreateKey("HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Edge", "WebWidgetAllowed");
bool key16 = CreateKey("Software\\Policies\\Microsoft\\Edge", "WebWidgetAllowed");
cb12.IsChecked = key16;
}
else
Expand Down

0 comments on commit 73f47f9

Please sign in to comment.