From 3f6212d52ff7339e5271f770c496cf2cca7ec301 Mon Sep 17 00:00:00 2001 From: Ioannis Christoforidis Date: Wed, 4 Dec 2019 20:05:52 +0100 Subject: Fix small bug were Network Speed Label did not get enabled after switching device; also setting conn type to the right value on change --- src/speedcheck.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/speedcheck.cpp b/src/speedcheck.cpp index 1ad46c9..8fc34c4 100644 --- a/src/speedcheck.cpp +++ b/src/speedcheck.cpp @@ -115,8 +115,9 @@ void SpeedCheck::updateNetworkInfos(int) { QMessageBox::warning(NULL, "Warning","Link Speed Slow"); _ui->networkSpeed->setStyleSheet("QLabel {color:orange;}"); _ui->networkSpeed->setToolTip("Networkspeed slow!"); - _ui->connType->setText("wired"); } + _ui->connType->setText("wired"); + _ui->networkSpeed->setEnabled(true); _ui->networkSpeed->setText(speed + " MB/s"); } else { -- cgit v1.2.3-55-g7522