Skip to content

Commit 17f4334

Browse files
committed
Match sort grouping order in inspection settings and inspection results. Closes #2193
1 parent 76dfde7 commit 17f4334

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Rubberduck.Core/UI/Settings/InspectionSettingsViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public InspectionSettingsViewModel(Configuration config)
2020
{
2121
InspectionSettings = new ListCollectionView(
2222
config.UserSettings.CodeInspectionSettings.CodeInspections
23-
.OrderBy(inspection => inspection.TypeLabel)
23+
.OrderBy(inspection => inspection.InspectionType)
2424
.ThenBy(inspection => inspection.Description)
2525
.ToList());
2626

@@ -29,7 +29,7 @@ public InspectionSettingsViewModel(Configuration config)
2929

3030
RunInspectionsOnSuccessfulParse = config.UserSettings.CodeInspectionSettings.RunInspectionsOnSuccessfulParse;
3131

32-
InspectionSettings.GroupDescriptions?.Add(new PropertyGroupDescription("TypeLabel"));
32+
InspectionSettings.GroupDescriptions?.Add(new PropertyGroupDescription("InspectionType"));
3333
ExportButtonCommand = new DelegateCommand(LogManager.GetCurrentClassLogger(), _ => ExportSettings());
3434
ImportButtonCommand = new DelegateCommand(LogManager.GetCurrentClassLogger(), _ => ImportSettings());
3535

0 commit comments

Comments
 (0)