mirror of
https://github.com/2dust/v2rayN.git
synced 2025-08-24 11:56:55 +00:00
Update Subscription, NO re-select
This commit is contained in:
parent
b249db7536
commit
fb81e950ce
1 changed files with 7 additions and 3 deletions
|
@ -881,7 +881,7 @@ namespace v2rayN.Forms
|
|||
|
||||
private void menuUpdateSubscriptions_Click(object sender, EventArgs e)
|
||||
{
|
||||
UpdateSubscriptionProcess();
|
||||
UpdateSubscriptionRememberChoice();
|
||||
}
|
||||
|
||||
private void tsbBackupGuiNConfig_Click(object sender, EventArgs e)
|
||||
|
@ -1338,6 +1338,11 @@ namespace v2rayN.Forms
|
|||
return 0;
|
||||
}
|
||||
private void tsbSubUpdate_Click(object sender, EventArgs e)
|
||||
{
|
||||
UpdateSubscriptionRememberChoice();
|
||||
}
|
||||
|
||||
private void UpdateSubscriptionRememberChoice()
|
||||
{
|
||||
try
|
||||
{
|
||||
|
@ -1356,8 +1361,6 @@ namespace v2rayN.Forms
|
|||
// wait for above fxcking async program to complete
|
||||
int index = FindIndexByRemarks(remarks);
|
||||
SetDefaultServer(index);
|
||||
AppendText(false, $"{UIRes.I18N("MsgUpdateSubscriptionEndReslectLast")}");
|
||||
RefreshServers();
|
||||
handle.updateSubscriptionProcessCompleted = false;
|
||||
}
|
||||
};
|
||||
|
@ -1368,6 +1371,7 @@ namespace v2rayN.Forms
|
|||
UpdateSubscriptionProcess();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// the subscription update process
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in a new issue