private void ConditionSetView_OnDataChanged() { var selectedRule = EditorTools.GetSelectedDtoFromTable <AttributionRuleDTO>(dataGridViewAttributionRules); if (selectedRule == null) { return; } selectedRule.Conditions = conditions.GetData(); LoadedAsset.UpdateAttributionRule(selectedRule); SetModified(); }