Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2558


Ignore:
Timestamp:
12/14/09 01:23:02 (15 years ago)
Author:
swagner
Message:

Applied patch to fix #809.

Location:
trunk/sources/HeuristicLab.Data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Data/3.2/ItemListView_T.cs

    r2474 r2558  
    122122      detailsGroupBox.Controls.Clear();
    123123      detailsGroupBox.Enabled = false;
    124       removeButton.Enabled = false;
    125       if(itemsListView.SelectedItems.Count > 0) {
     124      if (itemsListView.SelectedItems.Count > 0) {
    126125        removeButton.Enabled = true;
     126      } else {
     127        removeButton.Enabled = false;
    127128      }
    128129      if(itemsListView.SelectedItems.Count == 1) {
  • trunk/sources/HeuristicLab.Data/3.3/ItemListView_T.cs

    r2546 r2558  
    124124      detailsGroupBox.Controls.Clear();
    125125      detailsGroupBox.Enabled = false;
    126       removeButton.Enabled = false;
    127       if(itemsListView.SelectedItems.Count > 0) {
     126      if (itemsListView.SelectedItems.Count > 0) {
    128127        removeButton.Enabled = true;
     128      } else {
     129        removeButton.Enabled = false;
    129130      }
    130131      if(itemsListView.SelectedItems.Count == 1) {
Note: See TracChangeset for help on using the changeset viewer.