Skip to content

Commit

Permalink
New entry now initialized with first distribution.
Browse files Browse the repository at this point in the history
  • Loading branch information
nwaldispuehl committed Mar 15, 2017
1 parent 679e9fd commit 59639fb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ private void initializeEditableFields() {
estimator.valueProperty().bindBidirectional(estimationEntry.estimatorProperty());
estimator.setConverter(new EstimatorLabelProvider(ESTIMATOR_LABELS));
estimationEntry.estimatorProperty().addListener(inputChangeListener);
// Initialize with first distribution
estimationEntry.estimatorProperty().setValue(availableEstimators.get(0));

// Current value
currentValue.textProperty().bindBidirectional(estimationEntry.currentValueProperty(), NUMBER_STRING_CONVERTER);
Expand Down

0 comments on commit 59639fb

Please sign in to comment.