QAbstractItemView: When clicking on an item that is being edited and the edit trigger is SelectedClicked it should just stop editing. However it currently stops editing and then starts editing again straight away.
The following patch to the editabletreemodel example shows this problem occuring:
Click on an item to select it then click to edit and then click to stop the edit on that same item. Note that it will continue to edit the item.
The attached mytreeview.h can be used to workaround the problem.