mirror of https://github.com/commaai/openpilot.git
ui/networking: bolding the connected network (#29385)
old-commit-hash: 29f2389cce
This commit is contained in:
parent
87c4c661c7
commit
ec3b69928a
|
@ -347,7 +347,7 @@ void WifiItem::setItem(const Network &n, const QPixmap &status_icon, bool show_f
|
|||
|
||||
ssidLabel->setText(n.ssid);
|
||||
ssidLabel->setEnabled(n.security_type != SecurityType::UNSUPPORTED);
|
||||
ssidLabel->setFont(InterFont(55, network.connected == ConnectedType::DISCONNECTED ? QFont::Normal : QFont::Medium));
|
||||
ssidLabel->setFont(InterFont(55, network.connected == ConnectedType::DISCONNECTED ? QFont::Normal : QFont::Bold));
|
||||
|
||||
connecting->setVisible(n.connected == ConnectedType::CONNECTING);
|
||||
forgetBtn->setVisible(show_forget_btn);
|
||||
|
|
Loading…
Reference in New Issue