moved event to the right place for detecting change in local address

This commit is contained in:
csoler 2020-11-11 22:43:07 +01:00
parent 71edea3775
commit 3d958a7592
3 changed files with 11 additions and 10 deletions

View file

@ -126,7 +126,7 @@ void HomePage::handleEvent(std::shared_ptr<const RsEvent> e)
const RsNetworkEvent *ne = dynamic_cast<const RsNetworkEvent*>(e.get());
if(ne)
if(!ne)
return;
// in any case we update the IPs