Hide cart popup when going back to previous page

This commit is contained in:
pconroy
2021-06-24 15:28:09 -07:00
parent b224a47e0c
commit 875cd0c858
2 changed files with 10 additions and 0 deletions
@@ -175,6 +175,14 @@ namespace O3DE::ProjectManager
ShowOverlay();
}
void CartButton::hideEvent(QHideEvent*)
{
if (m_cartOverlay)
{
m_cartOverlay->hide();
}
}
void CartButton::ShowOverlay()
{
const QVector<QModelIndex> toBeAdded = m_gemModel->GatherGemsToBeAdded();