|
|
|
@ -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)
|
|
|
|
|