From b7c0e0d4f0af2d5b2f8690e550f29bfd3d48a0dd Mon Sep 17 00:00:00 2001 From: Paddy Xu Date: Mon, 19 Jun 2017 20:13:43 +0300 Subject: [PATCH] Fix fix f95fb120b563fad94ca1ed25b87273a745755030 --- QuickLook/MainWindowTransparent.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QuickLook/MainWindowTransparent.xaml.cs b/QuickLook/MainWindowTransparent.xaml.cs index 5cffbfb..d36f095 100644 --- a/QuickLook/MainWindowTransparent.xaml.cs +++ b/QuickLook/MainWindowTransparent.xaml.cs @@ -85,7 +85,7 @@ namespace QuickLook Width = size.Width; Height = size.Height; WindowStartupLocation = WindowStartupLocation.CenterScreen; - this.BringToFront(); + Dispatcher.BeginInvoke(new Action(this.BringToFront), DispatcherPriority.Render); return; }