Changeset 4767


Ignore:
Timestamp:
11/11/10 00:17:30 (8 years ago)
Author:
mkommend
Message:

Corrected state of DataAnalysisProblemDataView (ticket #1263).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/DataAnalysisProblemDataView.cs

    r4766 r4767  
    4040    }
    4141
     42    protected override void SetEnabledStateOfControls() {
     43      base.SetEnabledStateOfControls();
     44      importButton.Enabled = Enabled && !ReadOnly && !Locked;
     45    }
     46
    4247    private void importButton_Click(object sender, EventArgs e) {
    4348      if (openFileDialog == null) openFileDialog = new OpenFileDialog();
     
    5257      }
    5358    }
     59
     60
    5461  }
    5562}
Note: See TracChangeset for help on using the changeset viewer.