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>
(cherry picked from commit 2219c37d7f)
This commit is contained in:
morsz 2026-04-10 02:00:02 +02:00 committed by github-actions[bot]
parent 841b05b446
commit f6cb9daf99
15 changed files with 34 additions and 25 deletions

View file

@ -121,8 +121,8 @@ class InstallJavaPage : public QWidget, public BasePage {
void selectSearch() { javaVersionSelect->selectSearch(); }
void loadList()
{
majorVersionSelect->loadList();
javaVersionSelect->loadList();
majorVersionSelect->loadList(true);
javaVersionSelect->loadList(true);
}
public slots: