Fix speed test caused lost status port info

This commit is contained in:
ChsBuffer
2021-01-26 00:54:59 +08:00
parent 9172ede7c2
commit 7d55af2101

View File

@@ -1076,8 +1076,6 @@ namespace Netch.Forms
ControlButton.Enabled = true;
ControlButton.Text = i18N.Translate("Stop");
StatusTextAppend(StatusPortInfoText.Value);
ProfileGroupBox.Enabled = true;
break;
@@ -1173,12 +1171,10 @@ namespace Netch.Forms
text ??= i18N.Translate(StateExtension.GetStatusString(State));
StatusLabel.Text = i18N.Translate("Status", ": ") + text;
if (_state == State.Started)
StatusLabel.Text += StatusPortInfoText.Value;
}
public void StatusTextAppend(string text)
{
StatusLabel.Text += text;
}
public void BandwidthState(bool state)
{
if (InvokeRequired)