Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5007


Ignore:
Timestamp:
12/01/10 10:43:42 (14 years ago)
Author:
mkommend
Message:

Corrected RunCollectionConstraintView (ticket #1307).

File:
1 edited

Legend:

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

    r4435 r5007  
    4343      cmbConstraintColumn.Items.Clear();
    4444      cmbConstraintOperation.Items.Clear();
    45       chbActive.Checked = false;
     45
    4646      if (Content != null) {
    4747        cmbConstraintOperation.Items.AddRange(Content.AllowedConstraintOperations.ToArray());
     
    5050        else if (cmbConstraintOperation.Items.Count != 0)
    5151          cmbConstraintOperation.SelectedIndex = 0;
    52         this.UpdateColumnComboBox();
     52        UpdateColumnComboBox();
    5353        chbActive.Checked = Content.Active;
    54         this.ReadOnly = Content.Active;
    55       }
     54        ReadOnly = Content.Active;
     55      } else
     56        chbActive.Checked = false;
    5657    }
    5758
Note: See TracChangeset for help on using the changeset viewer.