diff --git a/EliteBGS/MainWindow.xaml.cs b/EliteBGS/MainWindow.xaml.cs index b2f2872..9a76fb2 100644 --- a/EliteBGS/MainWindow.xaml.cs +++ b/EliteBGS/MainWindow.xaml.cs @@ -120,7 +120,7 @@ public partial class MainWindow : Window { } private void HandleEntries(List entries) { - HandleEntries(entries, DateTime.Now, DateTime.Now); + HandleEntries(entries, startdate.Value ?? DateTime.Now, enddate.Value ?? DateTime.Now); } private void Loadentries_EntriesLoaded(List lines) {