Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8125


Ignore:
Timestamp:
06/26/12 15:15:34 (12 years ago)
Author:
mkommend
Message:

#1799: Corrected behavior in DataAnalysisSolutionView when the visibility of the details is changed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/DataAnalysisSolutionView.cs

    r7259 r8125  
    137137    }
    138138
     139    protected override void showDetailsCheckBox_CheckedChanged(object sender, EventArgs e) {
     140      if (showDetailsCheckBox.Checked && itemsListView.SelectedItems.Count == 1 && itemsListView.SelectedItems[0].Tag is Type) {
     141        Type viewType = (Type)itemsListView.SelectedItems[0].Tag;
     142        viewHost.ViewType = viewType;
     143        viewHost.Content = Content;
     144        splitContainer.Panel2Collapsed = false;
     145        detailsGroupBox.Enabled = true;
     146      } else base.showDetailsCheckBox_CheckedChanged(sender, e);
     147    }
     148
    139149    #region drag and drop
    140150    protected override void itemsListView_DragEnter(object sender, DragEventArgs e) {
Note: See TracChangeset for help on using the changeset viewer.