Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/17/16 11:04:19 (8 years ago)
Author:
bburlacu
Message:

#2679: Do not update inputs/goals in constructor. Fix bug in InputParameterView.cs, fix bug in Configure method (use all variables not just the AllowedInputVariables).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.GoalSeekingProblem/HeuristicLab.GoalSeekingProblem.Views/3.4/InputParameterView.cs

    r14333 r14336  
    9292    private void maxTextBox_TextChanged(object sender, EventArgs e) {
    9393      double max;
    94       if (double.TryParse(minTextBox.Text, out max))
     94      if (double.TryParse(maxTextBox.Text, out max))
    9595        Content.Max = max;
    9696    }
     
    9898    private void stepTextBox_TextChanged(object sender, EventArgs e) {
    9999      double step;
    100       if (double.TryParse(minTextBox.Text, out step))
     100      if (double.TryParse(stepTextBox.Text, out step))
    101101        Content.Step = step;
    102102    }
     
    104104    private void valueTextBox_TextChanged(object sender, EventArgs e) {
    105105      double value;
    106       if (double.TryParse(minTextBox.Text, out value))
     106      if (double.TryParse(valueTextBox.Text, out value))
    107107        Content.Value = value;
    108108    }
Note: See TracChangeset for help on using the changeset viewer.