summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/CS/HandBrakeWPF/Views/ShellView.xaml.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Views/ShellView.xaml.cs b/win/CS/HandBrakeWPF/Views/ShellView.xaml.cs
index 4d0ae62e6..81ed1f771 100644
--- a/win/CS/HandBrakeWPF/Views/ShellView.xaml.cs
+++ b/win/CS/HandBrakeWPF/Views/ShellView.xaml.cs
@@ -157,7 +157,10 @@ namespace HandBrakeWPF.Views
private void NotifyIconClick(object sender, EventArgs e)
{
this.WindowState = WindowState.Normal;
- this.Topmost = true;
+
+ // Bit of a hack but does work
+ this.Topmost = true;
+ this.Topmost = false;
}
/// <summary>