Hi,
Is it possible to disable the deselect action using ctrl + left click on an item of a QTreeWidget ?
How achieve that correctly ?
Thanks
Hi,
Is it possible to disable the deselect action using ctrl + left click on an item of a QTreeWidget ?
How achieve that correctly ?
Thanks
Answer :
Qt Code:
{ if( Item && Item != currentItem() ) { clearSelection(); Item->setSelected( true ); } event->accept(); }To copy to clipboard, switch view to plain text mode
Bookmarks