Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/08/15 15:59:11 (9 years ago)
Author:
abeham
Message:

#2270:

  • Fixed bug in RunCollectionChartAggregationView regarding null value
  • Fixed bug in RunCollectionTableView when runs were added during UpdateOfRunsInProgress
  • Added suppressUpdates to RunCollectionView and listening to UpdateOfRunsInProgress
  • Made sure that RunCollection would reset updateOfRunsInProgress to the same value as before when changing it in internal methods
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization/3.3/RunCollection.cs

    r12672 r12692  
    483483    #region Filtering
    484484    private void UpdateFiltering(bool reset) {
     485      var oldUpateRuns = UpdateOfRunsInProgress;
    485486      UpdateOfRunsInProgress = true;
    486487      if (reset)
     
    488489      foreach (IRunCollectionConstraint constraint in this.constraints)
    489490        constraint.Check();
    490       UpdateOfRunsInProgress = false;
     491      UpdateOfRunsInProgress = oldUpateRuns;
    491492    }
    492493
     
    550551    #region Modification
    551552    public void Modify() {
     553      var oldUpateRuns = UpdateOfRunsInProgress;
    552554      UpdateOfRunsInProgress = true;
    553555      var runs = this.ToList();
     
    564566        }
    565567      }
    566       UpdateOfRunsInProgress = false;
     568      UpdateOfRunsInProgress = oldUpateRuns;
    567569    }
    568570
Note: See TracChangeset for help on using the changeset viewer.