From d75188faacd47d3a3ed498ec97fc87d3e4660c3f Mon Sep 17 00:00:00 2001 From: Elias Fierke Date: Sun, 23 Mar 2025 11:46:07 +0100 Subject: [PATCH] [chore:] date is now prefilled with current date --- MainWindow.axaml.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MainWindow.axaml.cs b/MainWindow.axaml.cs index 64cf54a..e9764ca 100644 --- a/MainWindow.axaml.cs +++ b/MainWindow.axaml.cs @@ -43,6 +43,10 @@ namespace PLG_Exam RenewColors(); this.Closing += MainWindow_Closing; + + if(DatumField.SelectedDate.HasValue == false){ + DatumField.SelectedDate = DateTime.Now; + } }