mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-31 07:10:28 -04:00
fix loadingcircle
This commit is contained in:
parent
00e2bfee28
commit
e21a7ac7d9
1 changed files with 2 additions and 0 deletions
|
@ -512,12 +512,14 @@ void ModListLayer::reloadList(bool keepScroll, std::optional<ModListQuery> const
|
|||
m_loadingCircle->setZOrder(1001);
|
||||
|
||||
m_loadingCircle->show();
|
||||
m_loadingCircle->retain();
|
||||
}
|
||||
this->onCheckForUpdates(nullptr);
|
||||
}
|
||||
else {
|
||||
if (m_loadingCircle) {
|
||||
m_loadingCircle->fadeAndRemove();
|
||||
m_loadingCircle->release();
|
||||
m_loadingCircle = nullptr;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue