Changeset 15154
- Timestamp:
- 07/06/17 12:55:21 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stable/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionBubbleChartView.cs
r14186 r15154 726 726 } 727 727 private void hideRunsToolStripMenuItem_Click(object sender, EventArgs e) { 728 //ToList is necessary to prevent lazy evaluation 729 HideRuns(selectedRuns.ToList()); 728 HideRuns(selectedRuns); 730 729 //could not use ClearSelectedRuns as the runs are not visible anymore 731 730 selectedRuns.Clear(); 732 731 } 733 732 private void hideRunsButton_Click(object sender, EventArgs e) { 734 //ToList is necessary to prevent lazy evaluation 735 HideRuns(selectedRuns.ToList()); 733 HideRuns(selectedRuns); 736 734 //could not use ClearSelectedRuns as the runs are not visible anymore 737 735 selectedRuns.Clear(); … … 739 737 740 738 private void HideRuns(IEnumerable<IRun> runs) { 739 Content.UpdateOfRunsInProgress = true; 741 740 visibilityConstraint.Active = false; 742 741 if (!Content.Constraints.Contains(visibilityConstraint)) Content.Constraints.Add(visibilityConstraint); … … 745 744 } 746 745 visibilityConstraint.Active = true; 746 Content.UpdateOfRunsInProgress = false; 747 747 } 748 748
Note: See TracChangeset
for help on using the changeset viewer.