From 1df916bb09117997375a689c545e4b72f29bdd08 Mon Sep 17 00:00:00 2001 From: niksedk Date: Wed, 29 Jul 2026 16:15:51 +0200 Subject: [PATCH] Fix build error in statistics dashboard StatisticsViewModel referenced SE4's Configuration.Settings.Tools .ListViewSyntaxColorWideLines, which does not exist in this code base. Use the SE5 equivalent Se.Settings.General.ColorTextTooWide to gate the "line too wide" check. Co-Authored-By: Claude Fable 5 --- src/ui/Features/Files/Statistics/StatisticsViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/Features/Files/Statistics/StatisticsViewModel.cs b/src/ui/Features/Files/Statistics/StatisticsViewModel.cs index 6c0aebd47aa..555563f807c 100644 --- a/src/ui/Features/Files/Statistics/StatisticsViewModel.cs +++ b/src/ui/Features/Files/Statistics/StatisticsViewModel.cs @@ -482,7 +482,7 @@ private void BuildDashboardData(string allText, double totalDuration, Count = aboveMaximumLineLengthCount, Severity = StatCheckSeverity.Warning, }); - if (Configuration.Settings.Tools.ListViewSyntaxColorWideLines) + if (Se.Settings.General.ColorTextTooWide) { Checks.Add(new StatCheckItem {