Skip to content

Commit

Permalink
Add messages for completing bundle and pack refreshes
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Sep 19, 2021
1 parent b07c8aa commit 4f67139
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Etterna/Singletons/DownloadManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1930,6 +1930,8 @@ DownloadManager::RefreshCoreBundles()
}
}
}
if (MESSAGEMAN != nullptr)
MESSAGEMAN->Broadcast("CoreBundlesRefreshed");
};
SendRequest("packs/collections/", {}, done, false);
}
Expand Down Expand Up @@ -2319,6 +2321,8 @@ DownloadManager::RefreshPackList(const string& url)

packlist.push_back(tmp);
}
if (MESSAGEMAN != nullptr)
MESSAGEMAN->Broadcast("PackListRefreshed");
DLMAN->RefreshCoreBundles();
};
SendRequestToURL(url, {}, done, false, false, true, false);
Expand Down

0 comments on commit 4f67139

Please sign in to comment.