Iterate over dependent gems

Signed-off-by: AMZN-Phil <pconroy@amazon.com>
monroegm-disable-blank-issue-2
AMZN-Phil 4 years ago
parent 7e43b53d16
commit a465bf30a7

@ -494,15 +494,10 @@ namespace O3DE::ProjectManager
// we need to deactivate all gems that depend on this one // we need to deactivate all gems that depend on this one
for (auto dependentModelIndex : dependentGems) for (auto dependentModelIndex : dependentGems)
{ {
DeactivateDependentGems(model, dependentModelIndex); SetIsAdded(model, dependentModelIndex, false);
} }
} }
else
{
// Deactivate this gem
SetIsAdded(model, modelIndex, false);
}
} }
void GemModel::SetDownloadStatus(QAbstractItemModel& model, const QModelIndex& modelIndex, GemInfo::DownloadStatus status) void GemModel::SetDownloadStatus(QAbstractItemModel& model, const QModelIndex& modelIndex, GemInfo::DownloadStatus status)

Loading…
Cancel
Save