Double click on node in WTree?

Added by Stefan Bn 10 months ago

WTree just provides the signal itemSelectionChanged().

Is there a way (or planned feature) to catch a mouse double-click on a node in WTree?
I'd like the user to edit a tree-node by double-clicking on it.

Thanks,
Stefan


Replies (1)

RE: Double click on node in WTree? - Added by adam s 10 months ago

I think WAbstractItemView::setEditTriggers(DoubleClicked) should trigger editing (if Wt::WAbstractItemModel::flags() return "Editable")

(1-1/1)