QmlTreeWidget
QmlTreeWidget copied to clipboard
Selecting a new item will trigger the CurrentItemChanged event 2 times
The reason why is that in TreeItem.setSelectionFlag you change the currentItem 2 times.
And selecting the currentItem will trigger the CurrentItemChanged event which should not be triggered.