Changeset 11864 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking.Views/3.4
- Timestamp:
- 02/02/15 17:23:33 (10 years ago)
- Location:
- branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking.Views/3.4
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking.Views/3.4/GenealogyGraphChart.cs
r11852 r11864 57 57 return SelectedVisualNode == null ? null : SelectedVisualNode.Data; 58 58 } 59 set { 60 SelectedVisualNode = GetMappedNode(value); 61 UpdateSelectedVisualNode(); 62 } 59 63 } 60 64 … … 215 219 if (SelectedVisualNode == null) return; 216 220 221 UpdateSelectedVisualNode(); // redraw ancestries, mark node etc. 222 223 base.pictureBox_MouseUp(sender, e); 224 } 225 226 private void UpdateSelectedVisualNode() { 217 227 if (!LockGenealogy) { 218 228 // new node has been selected, clean up … … 238 248 239 249 if (SelectedVisualNode != null) 240 OnGenealogyGraphNodeClicked(SelectedVisualNode, e); // emit clicked event 241 242 base.pictureBox_MouseUp(sender, e); 250 OnGenealogyGraphNodeClicked(SelectedVisualNode, null); // emit clicked event 243 251 } 244 252 #endregion
Note: See TracChangeset
for help on using the changeset viewer.