Skip to content

Commit

Permalink
improved
Browse files Browse the repository at this point in the history
  • Loading branch information
hohwille committed Oct 4, 2023
1 parent 87abc27 commit 0d2f904
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,12 @@ public <V> void bindProperty(ReadableProperty<V> property, UiInput<V> input, Obj
}
}
if (bindValue) {
property.addListener((e) -> {
property.addWeakListener((e) -> {
if (!e.isChange()) {
V value = property.get();
input.setValue(value);
}
}, true);
});
}
}

Expand Down

0 comments on commit 0d2f904

Please sign in to comment.