Iterate over dependent gems
Signed-off-by: AMZN-Phil <pconroy@amazon.com>
This commit is contained in:
@@ -494,15 +494,10 @@ namespace O3DE::ProjectManager
|
||||
// we need to deactivate all gems that depend on this one
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user