Changeset 15154


Ignore:
Timestamp:
07/06/17 12:55:21 (5 months ago)
Author:
gkronber
Message:

#2800: merged r15122 from trunk to stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionBubbleChartView.cs

    r14186 r15154  
    726726    }
    727727    private void hideRunsToolStripMenuItem_Click(object sender, EventArgs e) {
    728       //ToList is necessary to prevent lazy evaluation
    729       HideRuns(selectedRuns.ToList());
     728      HideRuns(selectedRuns);
    730729      //could not use ClearSelectedRuns as the runs are not visible anymore
    731730      selectedRuns.Clear();
    732731    }
    733732    private void hideRunsButton_Click(object sender, EventArgs e) {
    734       //ToList is necessary to prevent lazy evaluation
    735       HideRuns(selectedRuns.ToList());
     733      HideRuns(selectedRuns);
    736734      //could not use ClearSelectedRuns as the runs are not visible anymore
    737735      selectedRuns.Clear();
     
    739737
    740738    private void HideRuns(IEnumerable<IRun> runs) {
     739      Content.UpdateOfRunsInProgress = true;
    741740      visibilityConstraint.Active = false;
    742741      if (!Content.Constraints.Contains(visibilityConstraint)) Content.Constraints.Add(visibilityConstraint);
     
    745744      }
    746745      visibilityConstraint.Active = true;
     746      Content.UpdateOfRunsInProgress = false;
    747747    }
    748748
Note: See TracChangeset for help on using the changeset viewer.