-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 8
-
Component/s: javafx
I add a ListChangeListener to the TreeView.getSelectionModel().getSelectedItems() property.
The first time I select an item, I receive a single event with the selected item as expected.
But the next selections do not work as expected.
When I change the selection and click on another item, I receive 2 events instead of single one :
- first one with empty selection
- second one with the selected item
Simple test case attached to reproduce.
The first time I select an item, I receive a single event with the selected item as expected.
But the next selections do not work as expected.
When I change the selection and click on another item, I receive 2 events instead of single one :
- first one with empty selection
- second one with the selected item
Simple test case attached to reproduce.