RFR: 8295339: DatePicker updates its value property with wrong date when dialog closes [v2]
Karthik P K
kpk at openjdk.org
Fri Dec 9 06:53:48 UTC 2022
On Thu, 8 Dec 2022 19:21:14 GMT, Marius Hanl <mhanl at openjdk.org> wrote:
>> Karthik P K has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Address review comments
>
> modules/javafx.controls/src/main/java/javafx/scene/control/skin/DatePickerSkin.java line 145:
>
>> 143: show();
>> 144: } else {
>> 145: updateDisplayNode();
>
> Can the call to `updateDisplayNode();` be removed in line 128 then?
> Just asking, since `updateDisplayNode();` is now called two times. But it looks like this is also still needed..
I believe `updateDisplayNode()` in line 128 is required as it is the event handler on `valueProperty`.
-------------
PR: https://git.openjdk.org/jfx/pull/963
More information about the openjfx-dev
mailing list