Changeset 16519 for trunk/HeuristicLab.Problems.DataAnalysis.Views/3.4/Controls/FactorPartialDependencePlot.cs
- Timestamp:
- 01/08/19 15:29:57 (6 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/2972_PDPRowSelect (added) merged: 16444-16445,16516-16518
- Property svn:mergeinfo changed
-
trunk/HeuristicLab.Problems.DataAnalysis.Views
- Property svn:mergeinfo changed
/branches/2972_PDPRowSelect/HeuristicLab.Problems.DataAnalysis.Views (added) merged: 16445,16516-16517
- Property svn:mergeinfo changed
-
trunk/HeuristicLab.Problems.DataAnalysis.Views/3.4/Controls/FactorPartialDependencePlot.cs
r15845 r16519 167 167 // add an event such that whenever a value is changed in the shared dataset, 168 168 // this change is reflected in the internal dataset (where the value becomes a whole column) 169 if (this.sharedFixedVariables != null) 169 if (this.sharedFixedVariables != null) { 170 170 this.sharedFixedVariables.ItemChanged -= sharedFixedVariables_ItemChanged; 171 this.sharedFixedVariables.Reset -= sharedFixedVariables_Reset; 172 } 173 171 174 this.sharedFixedVariables = sharedFixedVariables; 172 175 this.sharedFixedVariables.ItemChanged += sharedFixedVariables_ItemChanged; 176 this.sharedFixedVariables.Reset += sharedFixedVariables_Reset; 173 177 174 178 RecalculateInternalDataset(); … … 218 222 if (updateOnFinish) 219 223 Update(); 220 } 221 catch (OperationCanceledException) { } 222 catch (AggregateException ae) { 224 } catch (OperationCanceledException) { 225 } catch (AggregateException ae) { 223 226 if (!ae.InnerExceptions.Any(e => e is OperationCanceledException)) 224 227 throw; … … 495 498 } 496 499 500 private void sharedFixedVariables_Reset(object sender, EventArgs e) { 501 var newValue = sharedFixedVariables.GetStringValue(FreeVariable, 0); 502 UpdateSelectedValue(newValue); 503 504 int idx = variableValues.IndexOf(newValue); 505 UpdateAllSeriesStyles(idx); 506 } 507 497 508 private async void chart_DragDrop(object sender, DragEventArgs e) { 498 509 var data = e.Data.GetData(HeuristicLab.Common.Constants.DragDropDataFormat);
Note: See TracChangeset
for help on using the changeset viewer.