mirror of
https://github.com/2dust/v2rayN.git
synced 2025-08-24 03:46:55 +00:00
fix right click also change proxy error.
This commit is contained in:
parent
f277290fba
commit
5c15cfc97d
1 changed files with 11 additions and 8 deletions
|
@ -36,7 +36,7 @@ namespace v2rayN.Forms
|
|||
{
|
||||
MyAppExit(false);
|
||||
};
|
||||
notifyMain.Click += new EventHandler(notifyMain_Click);
|
||||
notifyMain.MouseClick += new MouseEventHandler(notifyMain_MouseClick);
|
||||
var _timer = new System.Timers.Timer();
|
||||
/*_timer.Interval = 1000 * 60 * mins;*/
|
||||
_timer.Interval = 1000 * 60 * 60 * 3; // every 3 hours
|
||||
|
@ -1545,7 +1545,9 @@ namespace v2rayN.Forms
|
|||
}
|
||||
#endregion
|
||||
|
||||
private void notifyMain_Click(object sender, EventArgs e)
|
||||
private void notifyMain_MouseClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (e.Button == MouseButtons.Left)
|
||||
{
|
||||
if (config.sysProxyType == ESysProxyType.ForcedClear)
|
||||
{
|
||||
|
@ -1558,3 +1560,4 @@ namespace v2rayN.Forms
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue