Skip to content

Commit

Permalink
Fix: The disabledGroups are now the disabled ones
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceiridge committed Apr 4, 2021
1 parent b3f21f3 commit 6d8b535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ChromeDevExtWarningPatcher/MainView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public partial class MainView : Window {

List<int> disabledGroups = new List<int>(); // Get all disabled patch groups from the UI
foreach (SelectionListElement element in this.mainModel.PatchListModel.ElementList) {
if (element is PatchGroupElement { IsSelected: true } patchGroup) {
if (element is PatchGroupElement { IsSelected: false } patchGroup) {
disabledGroups.Add(patchGroup.Group);
}
}
Expand Down

0 comments on commit 6d8b535

Please sign in to comment.