Disregards my last post.
I debugged your example a bit, and the solution is:
Qt Code:
currentSelected(model->index(2));To copy to clipboard, switch view to plain text mode
So you also have to let the selection model what you want to do.
Regards
Disregards my last post.
I debugged your example a bit, and the solution is:
Qt Code:
currentSelected(model->index(2));To copy to clipboard, switch view to plain text mode
So you also have to let the selection model what you want to do.
Regards
Bookmarks