Skip to content

Commit 294b538

Browse files
committed
Switch to double click to show window from tray
1 parent e8c5e83 commit 294b538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EnhancePoE/View/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ private void InitializeTray()
8989
_trayIcon.Visible = true;
9090
_trayIcon.ContextMenuStrip = new System.Windows.Forms.ContextMenuStrip();
9191
_ = _trayIcon.ContextMenuStrip.Items.Add( "Close", null, OnTrayItemMenuClicked );
92-
_trayIcon.MouseClick += ( s, a ) =>
92+
_trayIcon.DoubleClick += ( s, a ) =>
9393
{
9494
Show();
9595
_ = Activate();

0 commit comments

Comments
 (0)