
Originally Posted by
high_flyer
But shouldn't the mouse selection also count in this case? (could this be a bug?)
And what can I do in order to have the correct current item when selecting with the mouse?
Yeah, it seems a bit weird. I can reproduce the issue. But if you're specially interested about the current item, how about using something like
connect(listWidget, SIGNAL(currentItemChanged(QListWidgetItem*, QListWidgetItem*)), receiver, SLOT(doSomething()));
To copy to clipboard, switch view to plain text mode
?
Bookmarks