Update MainForm.cs

pull/2101/head
2dust 2022-03-14 20:36:09 +08:00
parent e030fae1c4
commit 82682d4474
1 changed files with 4 additions and 1 deletions

View File

@ -1164,7 +1164,10 @@ namespace v2rayN.Forms
private void ShowForm()
{
this.Show();
this.WindowState = FormWindowState.Normal;
if (this.WindowState == FormWindowState.Minimized)
{
this.WindowState = FormWindowState.Normal;
}
this.Activate();
this.ShowInTaskbar = true;
//this.notifyIcon1.Visible = false;