- Timestamp:
- 03/16/16 09:54:54 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBProblem.cs
r13693 r13709 171 171 172 172 public void RefreshSolutions() { 173 Solutions.Clear();174 173 if (ProblemId != -1) { 175 Solutions.AddRange(RunCreationClient.Instance.GetSolutions(ProblemId).Select(OKBSolution.Convert)); 176 foreach (var sol in Solutions) { 177 sol.DownloadData(); 178 } 179 } 174 var sols = RunCreationClient.Instance.GetSolutions(ProblemId).Select(OKBSolution.Convert).ToList(); 175 foreach (var sol in sols) sol.DownloadData(); 176 Solutions.Replace(sols); 177 } else Solutions.Clear(); 180 178 } 181 179
Note: See TracChangeset
for help on using the changeset viewer.