From 0d2f904e9b87bd88f9c55f69395999ecea628b67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Hohwiller?= Date: Thu, 5 Oct 2023 00:04:02 +0200 Subject: [PATCH] improved --- .../java/io/github/mmm/ui/api/binding/data/UiDataBinding.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binding/src/main/java/io/github/mmm/ui/api/binding/data/UiDataBinding.java b/binding/src/main/java/io/github/mmm/ui/api/binding/data/UiDataBinding.java index d034de9..ba2cf31 100644 --- a/binding/src/main/java/io/github/mmm/ui/api/binding/data/UiDataBinding.java +++ b/binding/src/main/java/io/github/mmm/ui/api/binding/data/UiDataBinding.java @@ -247,12 +247,12 @@ public void bindProperty(ReadableProperty property, UiInput input, Obj } } if (bindValue) { - property.addListener((e) -> { + property.addWeakListener((e) -> { if (!e.isChange()) { V value = property.get(); input.setValue(value); } - }, true); + }); } }