diff --git a/STranslate/Views/NotifyIcon.xaml b/STranslate/Views/NotifyIcon.xaml index 9fae5363..dbd35d67 100644 --- a/STranslate/Views/NotifyIcon.xaml +++ b/STranslate/Views/NotifyIcon.xaml @@ -16,13 +16,19 @@ - + ToolTipText="{Binding NIModel.ToolTip}" + TrayContextMenuOpen="TrayIcon_TrayContextMenuOpen"> - + + /// https://github.com/hardcodet/wpf-notifyicon/issues/19 + /// + /// + /// + private void TrayIcon_TrayContextMenuOpen(object sender, RoutedEventArgs e) + { + TrayIconContextMenu.UpdateDefaultStyle(); + } } }