TreeViewItem::setSelected sendNotification parameter


#1

In contrast with some other similar methods, currently the TreeViewItem::setSelected() method does not provide a sendNotification argument for choosing not to call the itemSelectionChanged() callback. I think that it could be a useful feature (for me it certainly would). Obviously, such parameter should be defaulting to true in order not to break current existing code.


#2

Yes… I’ve been meaning to tidy up all of those “sendNotification” bools and convert them into enums or something that reads more clearly, so will probably look at this one when I do the others.