RFR: 8193800: TreeTableView selection changes on sorting [v5]

Ambarish Rapte arapte at openjdk.java.net
Wed Jun 24 09:56:13 UTC 2020


On Tue, 23 Jun 2020 12:32:22 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> modules/javafx.controls/src/main/java/javafx/scene/control/TreeTableView.java line 1856:
>> 
>>> 1855:         Callback<TreeTableView<S>, Boolean> sortPolicy = getSortPolicy();
>>> 1856:         if (sortPolicy == null) return;
>>> 1857:         Boolean success = sortPolicy.call(this);
>> 
>> Do we need to set sortingInProgress to false before returning from here?
>
> Yes, I think so. Good catch.

Corrected in the next commit.

-------------

PR: https://git.openjdk.java.net/jfx/pull/244


More information about the openjfx-dev mailing list