mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 01:18:01 -05:00
also show the loading circle on the former progress bar condition
This commit is contained in:
parent
02845d967e
commit
9b95301472
1 changed files with 4 additions and 1 deletions
|
@ -649,7 +649,10 @@ void ModList::showStatus(ModListStatus status, std::string const& message, std::
|
||||||
m_statusContainer->setVisible(true);
|
m_statusContainer->setVisible(true);
|
||||||
m_statusDetails->setVisible(false);
|
m_statusDetails->setVisible(false);
|
||||||
m_statusDetailsBtn->setVisible(details.has_value());
|
m_statusDetailsBtn->setVisible(details.has_value());
|
||||||
m_statusLoadingCircle->setVisible(std::holds_alternative<ModListUnkProgressStatus>(status));
|
m_statusLoadingCircle->setVisible(
|
||||||
|
std::holds_alternative<ModListUnkProgressStatus>(status)
|
||||||
|
|| std::holds_alternative<ModListProgressStatus>(status)
|
||||||
|
);
|
||||||
|
|
||||||
// the loading bar makes no sense to display - it's meant for progress of mod list page loading
|
// the loading bar makes no sense to display - it's meant for progress of mod list page loading
|
||||||
// however the mod list pages are so small, that there usually isn't a scenario where the loading
|
// however the mod list pages are so small, that there usually isn't a scenario where the loading
|
||||||
|
|
Loading…
Reference in a new issue