Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/21/10 06:14:03 (15 years ago)
Author:
swagner
Message:

Adapted views according the new read-only property (#973)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleValueView.cs

    r3430 r3454  
    8080    }
    8181    private void SetEnabledStateOfControls() {
    82       if (Content == null) valueTextBox.Enabled = false;
    83       else {
    84         valueTextBox.Enabled = true;
    85         valueTextBox.ReadOnly = ReadOnly;
    86       }
     82      valueTextBox.Enabled = Content != null;
     83      valueTextBox.ReadOnly = ReadOnly;
    8784    }
    8885
Note: See TracChangeset for help on using the changeset viewer.