diff --git a/src/ChatPrisma/Views/TextEnhancement/TextEnhancementView.xaml.cs b/src/ChatPrisma/Views/TextEnhancement/TextEnhancementView.xaml.cs index eac9867..ae9bb1f 100644 --- a/src/ChatPrisma/Views/TextEnhancement/TextEnhancementView.xaml.cs +++ b/src/ChatPrisma/Views/TextEnhancement/TextEnhancementView.xaml.cs @@ -22,6 +22,12 @@ private void TextEnhancementView_OnLoaded(object sender, RoutedEventArgs e) // Place the window a bit moved to the top, so it is perfectly centered if we reach this.MaxHeight window.Top = Math.Max((currentScreenHeight - this.MaxHeight) / 2, 0); })); + + // Ensure window is shown above all other windows + window.Activate(); + window.Topmost = true; + window.Topmost = false; + window.Focus(); } private void TextEnhancementView_OnDataContextChanged(object sender, DependencyPropertyChangedEventArgs e)