Free cookie consent management tool by TermsFeed Policy Generator

Changeset 6804


Ignore:
Timestamp:
09/20/11 11:21:05 (13 years ago)
Author:
mkommend
Message:

#1479: Corrected enabled state of symbol view.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/SymbolView.cs

    r6803 r6804  
    5757    protected override void SetEnabledStateOfControls() {
    5858      base.SetEnabledStateOfControls();
    59       initialFrequencyTextBox.Enabled = Content != null || Locked;
     59      initialFrequencyTextBox.Enabled = Content != null && !Locked;
    6060      initialFrequencyTextBox.ReadOnly = ReadOnly;
    61       enabledCheckBox.Enabled = Content != null || Locked || ReadOnly;
     61      enabledCheckBox.Enabled = Content != null && !Locked && !ReadOnly;
    6262    }
    6363
Note: See TracChangeset for help on using the changeset viewer.