diff --git a/UI/Cells/Edit/QualityCellEditor.js b/UI/Cells/Edit/QualityCellEditor.js index 711bbed99..51ebceb55 100644 --- a/UI/Cells/Edit/QualityCellEditor.js +++ b/UI/Cells/Edit/QualityCellEditor.js @@ -28,7 +28,10 @@ define( self.schema = qualityProfileSchemaCollection.first(); var selected = _.find(self.schema.get('available'), { 'id': self.model.get(self.column.get("name")).quality.id }); - selected.selected = true; + + if (selected) { + selected.selected = true; + } self.templateFunction = Marionette.TemplateCache.get(templateName); var data = self.schema.toJSON();