diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/logic/translations/TranslationsModel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api/logic/translations/TranslationsModel.cpp b/api/logic/translations/TranslationsModel.cpp index 1d44484a..868aa98f 100644 --- a/api/logic/translations/TranslationsModel.cpp +++ b/api/logic/translations/TranslationsModel.cpp @@ -193,6 +193,10 @@ QString TranslationsModel::selectedLanguage() void TranslationsModel::downloadIndex() { + if(d->m_index_job || d->m_dl_job) + { + return; + } qDebug() << "Downloading Translations Index..."; d->m_index_job.reset(new NetJob("Translations Index")); MetaEntryPtr entry = ENV.metacache()->resolveEntry("translations", "index"); |