mirror of
https://github.com/2dust/v2rayN.git
synced 2025-08-24 11:56:55 +00:00
first, index will be -1.
This commit is contained in:
parent
55ae62c66a
commit
d2300798d5
1 changed files with 26 additions and 19 deletions
|
@ -1338,6 +1338,8 @@ namespace v2rayN.Forms
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
private void tsbSubUpdate_Click(object sender, EventArgs e)
|
private void tsbSubUpdate_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
VmessItem item = config.vmess[config.index];
|
VmessItem item = config.vmess[config.index];
|
||||||
var remarks = item.remarks;
|
var remarks = item.remarks;
|
||||||
|
@ -1361,6 +1363,11 @@ namespace v2rayN.Forms
|
||||||
};
|
};
|
||||||
handle.UpdateSubscriptionProcess(config, _updateUIAndReselect);
|
handle.UpdateSubscriptionProcess(config, _updateUIAndReselect);
|
||||||
}
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
UpdateSubscriptionProcess();
|
||||||
|
}
|
||||||
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// the subscription update process
|
/// the subscription update process
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Loading…
Reference in a new issue