WIP refresh gem catalog in place

Signed-off-by: Alex Peterson <26804013+AMZN-alexpete@users.noreply.github.com>
This commit is contained in:
Alex Peterson
2021-11-01 11:18:38 -07:00
parent 781eaabd94
commit 259ee654ae
7 changed files with 85 additions and 0 deletions
@@ -55,6 +55,13 @@ namespace O3DE::ProjectManager
connect(m_gemCatalogScreen, &ScreenWidget::ChangeScreenRequest, this, &CreateProjectCtrl::OnChangeScreenRequest);
connect(
m_gemRepoScreen, &GemRepoScreen::OnRefresh,
[this]()
{
const QString projectTemplatePath = m_newProjectSettingsScreen->GetProjectTemplatePath();
m_gemCatalogScreen->Refresh(projectTemplatePath + "/Template");
});
// When there are multiple project templates present, we re-gather the gems when changing the selected the project template.
connect(m_newProjectSettingsScreen, &NewProjectSettingsScreen::OnTemplateSelectionChanged, this, [=](int oldIndex, [[maybe_unused]] int newIndex)