From 78723c7a125b35721bed78889f2a033421963e16 Mon Sep 17 00:00:00 2001 From: Erik Darling <2136037+erikdarlingdata@users.noreply.github.com> Date: Fri, 20 Feb 2026 09:25:22 -0500 Subject: [PATCH] Fix settings default time range dropdown to match dashboard buttons (#210) Settings dropdown had 1h/6h/24h/7d but dashboard buttons offer 1h/4h/8h/12h/24h/7d/30d. Aligned the dropdown to match exactly. Fixed fallback index for 24-hour default. Co-Authored-By: Claude Opus 4.6 --- Dashboard/SettingsWindow.xaml | 5 ++++- Dashboard/SettingsWindow.xaml.cs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dashboard/SettingsWindow.xaml b/Dashboard/SettingsWindow.xaml index 03ed9092..c7f21f33 100644 --- a/Dashboard/SettingsWindow.xaml +++ b/Dashboard/SettingsWindow.xaml @@ -58,9 +58,12 @@ - + + + + diff --git a/Dashboard/SettingsWindow.xaml.cs b/Dashboard/SettingsWindow.xaml.cs index c6d4de91..56bad3e0 100644 --- a/Dashboard/SettingsWindow.xaml.cs +++ b/Dashboard/SettingsWindow.xaml.cs @@ -83,7 +83,7 @@ private void LoadSettings() // Default to 24 hours if no match if (DefaultTimeRangeComboBox.SelectedItem == null) { - DefaultTimeRangeComboBox.SelectedIndex = 2; // 24 hours + DefaultTimeRangeComboBox.SelectedIndex = 4; // 24 hours } // Navigation settings