From 8fedd0c8897719cd31b20310c6e94fbbd51815e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ayta=C3=A7=20Kayadelen?= Date: Tue, 2 Apr 2024 22:24:56 +0200 Subject: [PATCH] fix DirectoryNotFound exception when UI opens --- Project-Aurora/Project-Aurora/Control_ProfilesStack.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project-Aurora/Project-Aurora/Control_ProfilesStack.xaml.cs b/Project-Aurora/Project-Aurora/Control_ProfilesStack.xaml.cs index ec1153c68..8e607bb2f 100644 --- a/Project-Aurora/Project-Aurora/Control_ProfilesStack.xaml.cs +++ b/Project-Aurora/Project-Aurora/Control_ProfilesStack.xaml.cs @@ -102,7 +102,7 @@ public async Task GenerateProfileStack(string? focusedKey = null) FocusedAppChanged?.Invoke(this, new FocusedAppChangedEventArgs(application, (BitmapSource)profileImage.Source)); focusedSetTaskCompletion.TrySetResult(); - }, DispatcherPriority.DataBind); + }, DispatcherPriority.Render); }, DispatcherPriority.Loaded); }).Select(x => x.Task);