Changeset 7525


Ignore:
Timestamp:
02/27/12 13:07:50 (7 years ago)
Author:
ascheibe
Message:

#1722 fixed a NullReferenceException in the HiveTaskView which led to a failing ContentViewTests unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.Views/3.3/HiveTasks/HiveTaskView.cs

    r7259 r7525  
    207207
    208208    private void priorityComboBox_SelectedIndexChanged(object sender, EventArgs e) {
    209       if (Content.Task.Priority != priorityComboBox.SelectedIndex) {
     209      if (Content != null && Content.Task != null && Content.Task.Priority != priorityComboBox.SelectedIndex) {
    210210        Content.Task.Priority = priorityComboBox.SelectedIndex;
    211211      }
Note: See TracChangeset for help on using the changeset viewer.