private void RefreshSelection() { if (VCSettings.SelectiveCommit) { vcMultiColumnAssetList.ForEachRow(r => vcMultiColumnAssetList.SetMasterSelection(r.data, VCSettings.IncludeDepedenciesAsDefault || assetPaths.Contains(r.data.assetPath))); } else { vcMultiColumnAssetList.ForEachRow(r => r.selected = VCSettings.IncludeDepedenciesAsDefault || assetPaths.Contains(r.data.assetPath)); } Repaint(); }