mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user