first, index will be -1.

This commit is contained in:
JaredDC 2021-06-29 23:29:05 +08:00
parent 55ae62c66a
commit d2300798d5

View file

@ -1338,6 +1338,8 @@ namespace v2rayN.Forms
return 0;
}
private void tsbSubUpdate_Click(object sender, EventArgs e)
{
try
{
VmessItem item = config.vmess[config.index];
var remarks = item.remarks;
@ -1361,6 +1363,11 @@ namespace v2rayN.Forms
};
handle.UpdateSubscriptionProcess(config, _updateUIAndReselect);
}
catch
{
UpdateSubscriptionProcess();
}
}
/// <summary>
/// the subscription update process
/// </summary>