Changeset 15122 for trunk/sources
- Timestamp:
- 07/05/17 16:27:50 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionBubbleChartView.cs
r14889 r15122 746 746 } 747 747 private void hideRunsToolStripMenuItem_Click(object sender, EventArgs e) { 748 //ToList is necessary to prevent lazy evaluation 749 HideRuns(selectedRuns.ToList()); 748 HideRuns(selectedRuns); 750 749 //could not use ClearSelectedRuns as the runs are not visible anymore 751 750 selectedRuns.Clear(); 752 751 } 753 752 private void hideRunsButton_Click(object sender, EventArgs e) { 754 //ToList is necessary to prevent lazy evaluation 755 HideRuns(selectedRuns.ToList()); 753 HideRuns(selectedRuns); 756 754 //could not use ClearSelectedRuns as the runs are not visible anymore 757 755 selectedRuns.Clear(); … … 759 757 760 758 private void HideRuns(IEnumerable<IRun> runs) { 759 Content.UpdateOfRunsInProgress = true; 761 760 visibilityConstraint.Active = false; 762 761 if (!Content.Constraints.Contains(visibilityConstraint)) Content.Constraints.Add(visibilityConstraint); … … 765 764 } 766 765 visibilityConstraint.Active = true; 766 Content.UpdateOfRunsInProgress = false; 767 767 } 768 768
Note: See TracChangeset
for help on using the changeset viewer.