add check

pull/567/head
YFdyh000 2020-03-20 07:24:04 +08:00
parent a4a0b29250
commit be9bbcc2c7
1 changed files with 1 additions and 1 deletions

View File

@ -652,7 +652,7 @@ namespace v2rayN.Forms
}
private void Speedtest(string actionType)
{
GetLvSelectedIndex();
if (GetLvSelectedIndex() < 0) return;
ClearTestResult();
SpeedtestHandler statistics = new SpeedtestHandler(ref config, ref v2rayHandler, lvSelecteds, actionType, UpdateSpeedtestHandler);
}