Free cookie consent management tool by TermsFeed Policy Generator

Changeset 6513


Ignore:
Timestamp:
07/05/11 10:08:38 (13 years ago)
Author:
mkommend
Message:

#1555: Corrected toggle of collapse / expanded state of treenodes.

File:
1 edited

Legend:

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

    r6498 r6513  
    499499    private void optimizerTreeView_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e) {
    500500      if (e.X < e.Node.Bounds.Left || e.X > e.Node.Bounds.Right) return;
     501      optimizerTreeView.SelectedNode.Toggle();
    501502      IOptimizer optimizer = (IOptimizer)e.Node.Tag;
    502503      MainFormManager.MainForm.ShowContent(optimizer);
     
    505506      if (e.X < e.Node.Bounds.Left || e.X > e.Node.Bounds.Right) return;
    506507      optimizerTreeView.SelectedNode = e.Node;
    507       optimizerTreeView.SelectedNode.Toggle();
    508508      detailsViewHost.Content = (IOptimizer)e.Node.Tag;
    509509      SetEnabledStateOfControls();
Note: See TracChangeset for help on using the changeset viewer.