From 509256d4e9944e2b89301fceece46010dd3af51b Mon Sep 17 00:00:00 2001 From: jzxc95 <907297917@qq.com> Date: Thu, 30 Dec 2021 11:30:05 +0800 Subject: [PATCH] fix bug 100833 --- plugins/mobilehotspot/mobilehotspotwidget.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/mobilehotspot/mobilehotspotwidget.cpp b/plugins/mobilehotspot/mobilehotspotwidget.cpp index 1984efb7..1def81c8 100644 --- a/plugins/mobilehotspot/mobilehotspotwidget.cpp +++ b/plugins/mobilehotspot/mobilehotspotwidget.cpp @@ -620,10 +620,12 @@ void MobileHotspotWidget::setWidgetHidden(bool isHidden) m_switchBtn->setChecked(false); m_switchBtn->setDisabledFlag(true); m_interfaceName = ""; + m_uuid = ""; } else { m_switchBtn->setDisabledFlag(false); + onGsettingChanged(WIRELESS_SWITCH); } - onGsettingChanged(WIRELESS_SWITCH); + } void MobileHotspotWidget::updateBandCombox()