Fix keba network monitor handling on reconfigure
This commit is contained in:
parent
2a508e76b2
commit
788a617135
@ -131,8 +131,13 @@ void IntegrationPluginKeba::setupThing(ThingSetupInfo *info)
|
|||||||
if (keba) {
|
if (keba) {
|
||||||
qCDebug(dcKeba()) << "Reconfigure" << thing->name() << thing->params();
|
qCDebug(dcKeba()) << "Reconfigure" << thing->name() << thing->params();
|
||||||
delete keba;
|
delete keba;
|
||||||
// Now continue with the normal setup
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_monitors.contains(thing)) {
|
||||||
|
hardwareManager()->networkDeviceDiscovery()->unregisterMonitor(m_monitors.take(thing));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Now continue with the normal setup..
|
||||||
}
|
}
|
||||||
|
|
||||||
qCDebug(dcKeba()) << "Setting up" << thing->name() << thing->params();
|
qCDebug(dcKeba()) << "Setting up" << thing->name() << thing->params();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user