[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
This commit is contained in:
Mohammad Amin Mollazadeh
2026-07-25 08:15:19 +02:00
committed by GitHub
parent f6fcb596bc
commit e3c4b21737
+3
View File
@@ -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;
}