From 4f671390f957e21cd6758d25159356bb890160f2 Mon Sep 17 00:00:00 2001 From: Barinade Date: Sat, 18 Sep 2021 19:31:56 -0500 Subject: [PATCH] Add messages for completing bundle and pack refreshes --- src/Etterna/Singletons/DownloadManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Etterna/Singletons/DownloadManager.cpp b/src/Etterna/Singletons/DownloadManager.cpp index a2d8ed2b62..7561350afd 100644 --- a/src/Etterna/Singletons/DownloadManager.cpp +++ b/src/Etterna/Singletons/DownloadManager.cpp @@ -1930,6 +1930,8 @@ DownloadManager::RefreshCoreBundles() } } } + if (MESSAGEMAN != nullptr) + MESSAGEMAN->Broadcast("CoreBundlesRefreshed"); }; SendRequest("packs/collections/", {}, done, false); } @@ -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);