GH-1856 always pull new versions of metadata when requested

The only block is if it's already happening.
This commit is contained in:
Petr Mrázek 2017-04-19 22:07:34 +02:00
parent 88041783e6
commit 60777ad8ce

View File

@ -57,7 +57,8 @@ public:
} }
bool shouldStartRemoteUpdate() const bool shouldStartRemoteUpdate() const
{ {
return m_updateStatus == UpdateStatus::NotDone; // TODO: version-locks and offline mode?
return m_updateStatus != UpdateStatus::InProgress;
} }
void load(); void load();