From cbf11f9651380ee2aa375f45bcb167072527cafb Mon Sep 17 00:00:00 2001 From: zhangyuanyuan1 Date: Mon, 24 Jul 2023 14:01:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=98=E7=9B=98=E6=9C=89=E7=BA=BF=E7=BD=91?= =?UTF-8?q?=E7=BB=9C=E7=82=B9=E5=87=BB=E3=80=90=E6=9C=AA=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E3=80=91=E4=B8=8D=E5=BA=94=E6=9C=89=E9=80=89=E4=B8=AD=E6=95=88?= =?UTF-8?q?=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/tab-pages/lanpage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/tab-pages/lanpage.cpp b/src/frontend/tab-pages/lanpage.cpp index c2dc8e74..1cc09449 100644 --- a/src/frontend/tab-pages/lanpage.cpp +++ b/src/frontend/tab-pages/lanpage.cpp @@ -467,6 +467,7 @@ void LanPage::onRemoveConnection(QString path) //删除时后端会 removeConnectionItem(m_activeConnectionMap, m_activatedLanListWidget, path); if (m_activeConnectionMap.count() <= 0) { addEmptyConnectItem(m_activeConnectionMap, m_activatedLanListWidget); + m_activatedLanListWidget->setSelectionMode(QAbstractItemView::SelectionMode::NoSelection); } setNetSpeed->stop(); return;