mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-04-17 15:56:55 -04:00
fix: force metadata version list refreshes to reload
manual refreshes on version selection screens could reuse cached metadata and skip downloading updated manifests, so new versions would not appear until Prism was restarted. pass an explicit forced reload through the shared version list loading path and use it from refresh actions so manual refresh always reloads metadata Signed-off-by: morsz <morsz@morsz.dev>
This commit is contained in:
@@ -51,8 +51,9 @@ JavaInstallList::JavaInstallList(QObject* parent, bool onlyManagedVersions)
|
||||
: BaseVersionList(parent), m_only_managed_versions(onlyManagedVersions)
|
||||
{}
|
||||
|
||||
Task::Ptr JavaInstallList::getLoadTask()
|
||||
Task::Ptr JavaInstallList::getLoadTask(bool forceReload)
|
||||
{
|
||||
Q_UNUSED(forceReload)
|
||||
load();
|
||||
return getCurrentTask();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user