Remove deleted projects from project manager

Signed-off-by: pconroy <pconroy@amazon.com>
This commit is contained in:
pconroy
2021-06-25 17:39:27 -07:00
parent 6a0b8ae6b6
commit e0c3d15d5a
6 changed files with 51 additions and 23 deletions
@@ -119,6 +119,8 @@ namespace O3DE::ProjectManager
QFrame* ProjectsScreen::CreateProjectsContent(QString buildProjectPath, ProjectButton** projectButton)
{
RemoveInvalidProjects();
QFrame* frame = new QFrame(this);
frame->setObjectName("projectsContent");
{
@@ -481,6 +483,11 @@ namespace O3DE::ProjectManager
return displayFirstTimeContent;
}
void ProjectsScreen::RemoveInvalidProjects()
{
PythonBindingsInterface::Get()->RemoveInvalidProjects();
}
void ProjectsScreen::StartProjectBuild(const ProjectInfo& projectInfo)
{
if (ProjectUtils::IsVS2019Installed())