From e3c4b2173788d015294183f732f90c4eeed4fac5 Mon Sep 17 00:00:00 2001 From: Mohammad Amin Mollazadeh Date: Sat, 25 Jul 2026 09:45:19 +0330 Subject: [PATCH] [RAPPS] Force download online apps catalog in ID_RESETDB (#9242) Since the database is downloaded lazily, clicking on "Update Database" button won't re-download the online catalog if "Available apps" view is not active. This patch forces the download even when the "Installed apps" is active. CORE-20205 --- base/applications/rapps/gui.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base/applications/rapps/gui.cpp b/base/applications/rapps/gui.cpp index 7ceab662da5..70692945d65 100644 --- a/base/applications/rapps/gui.cpp +++ b/base/applications/rapps/gui.cpp @@ -620,6 +620,9 @@ CMainWindow::OnCommand(WPARAM wParam, LPARAM lParam) CUpdateDatabaseMutex lock; m_Db->RemoveCached(); UpdateApplicationsList(SelectedEnumType, bReload); + /* Force database update even if "Available apps" view is not active */ + if (!IsAvailableEnum(SelectedEnumType)) + m_Db->UpdateAvailable(); break; }