Project

General

Profile

Double click on node in WTree?

Added by Stefan Bn over 1 year 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 about 1 year ago

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

    (1-1/1)