fix: Make scan button enabled when dms disconnected.
This commit is contained in:
@@ -336,6 +336,7 @@ void DeviceManager::startScan(const QString& json, bool empty)
|
||||
DeviceStatus inf = getDeviceStatus();
|
||||
if(inf == DeviceStatus::Unkonw)
|
||||
{
|
||||
TRIGGER_EVENT(StopScanProcess, nullptr, nullptr);
|
||||
return;
|
||||
}
|
||||
if (inf != DeviceStatus::Rready)
|
||||
|
||||
Reference in New Issue
Block a user