Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/17/19 11:58:20 (5 years ago)
Author:
chaider
Message:

#2971 Added OnTextChange event for constraints input; Added lock of constraints input

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views/3.4/ParsedConstraintView.cs

    r16938 r16963  
    6363    }
    6464
     65    protected override void SetEnabledStateOfControls() {
     66      constraintsInput.Enabled = Content != null && !Locked && !ReadOnly;
     67    }
     68
    6569
    6670    private IEnumerable<IntervalConstraint> ParseConstraints(string input) {
     
    123127    private void constraintsInput_TextChanged(object sender, EventArgs e) {
    124128      errorOutput.Text = "Unparsed changes! Press parse button to save changes.";
     129      Content.Input = constraintsInput.Text;
    125130    }
    126131
Note: See TracChangeset for help on using the changeset viewer.