Changeset 14706


Ignore:
Timestamp:
02/27/17 16:08:51 (3 years ago)
Author:
bburlacu
Message:

#2710: Set default variable value in the change node edit dialog text box.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/TreeEditDialogs/SymbolicExpressionTreeVariableNodeEditDialog.cs

    r14432 r14706  
    3434      get { return variableTreeNode; }
    3535      set {
    36         if (InvokeRequired)
    37           Invoke(new Action<SymbolicExpressionTreeNode>(x => variableTreeNode = (VariableTreeNode)x), value);
    38         else
     36        if (InvokeRequired) {
     37          Invoke(new Action<SymbolicExpressionTreeNode>(x =>
     38          {
     39            variableTreeNode = (VariableTreeNode) x;
     40            variableNameTextBox.Text = variableTreeNode.VariableName;
     41          }), value);
     42        } else {
    3943          variableTreeNode = value;
     44          variableNameTextBox.Text = variableTreeNode.VariableName;
     45        }
    4046      }
    4147    }
Note: See TracChangeset for help on using the changeset viewer.