mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 16:23:46 +08:00
Fix forget network button on tethering connection (#21340)
old-commit-hash: 26343951c948ca61c41f82560fb02c8b732bac64
This commit is contained in:
@@ -211,7 +211,7 @@ void WifiUI::refresh() {
|
||||
ssid_label->setStyleSheet("font-size: 55px;");
|
||||
hlayout->addWidget(ssid_label, 1, Qt::AlignLeft);
|
||||
|
||||
if (wifi->isKnownNetwork(network.ssid)) {
|
||||
if (wifi->isKnownNetwork(network.ssid) && !wifi->tetheringEnabled()) {
|
||||
QPushButton *forgetBtn = new QPushButton();
|
||||
QPixmap pix("../assets/offroad/icon_close.svg");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user