Fix #498 , again

This commit is contained in:
ChsBuffer
2021-01-26 21:36:23 +08:00
parent 7d55af2101
commit 6bfcae453f

View File

@@ -1178,7 +1178,13 @@ namespace Netch.Forms
public void BandwidthState(bool state)
{
if (InvokeRequired)
{
BeginInvoke(new Action<bool>(BandwidthState), state);
return;
}
if (IsWaiting())
return;
UsedBandwidthLabel.Visible /*= UploadSpeedLabel.Visible*/ = DownloadSpeedLabel.Visible = state;
}