Update status when config updated
This commit is contained in:
parent
d20a4aea19
commit
e6ac3d8599
|
@ -1149,9 +1149,12 @@ void SyncthingConnection::concludeReadingConfigAndStatus()
|
|||
readDevs(m_rawConfig.value(QStringLiteral("devices")).toArray());
|
||||
readDirs(m_rawConfig.value(QStringLiteral("folders")).toArray());
|
||||
|
||||
if (!isConnected()) {
|
||||
continueConnecting();
|
||||
if (isConnected()) {
|
||||
setStatus(SyncthingStatus::Idle);
|
||||
return;
|
||||
}
|
||||
|
||||
continueConnecting();
|
||||
}
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Reference in New Issue