mirror of https://github.com/2dust/v2rayN
bug fix
parent
235f20813d
commit
9e440fd5e6
|
@ -290,6 +290,10 @@ namespace v2rayN.Forms
|
|||
bool lastEnableStatistics = config.enableStatistics;
|
||||
config.enableStatistics = chkEnableStatistics.Checked;
|
||||
config.statisticsFreshRate = Convert.ToInt32(numStatisticsFreshRate.Value);
|
||||
if (config.statisticsFreshRate > 100 || config.statisticsFreshRate < 1)
|
||||
{
|
||||
config.statisticsFreshRate = 1;
|
||||
}
|
||||
|
||||
config.keepOlderDedupl = chkKeepOlderDedupl.Checked;
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ namespace v2rayN.Handler
|
|||
{
|
||||
config.groupItem = new List<GroupItem>();
|
||||
}
|
||||
if (config.statisticsFreshRate > 100)
|
||||
if (config.statisticsFreshRate > 100 || config.statisticsFreshRate < 1)
|
||||
{
|
||||
config.statisticsFreshRate = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue