Hi,

I connected the QListWidget::itemSelectionChanged() signal to a slot.
In the slot I extract the selected item string - and append it to another string.
The problem is, that the currentItem() always returns the previous selected item - when I select using the mouse (even if I select one item after the other in the list - so the focus always stays on the list).
However, if I change the selection with the keybaord (with the arrows) currentItem() returns the correct item (since I know that per definition, currentItem() is the item with keyboard focus.
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?

The reason I am using the itemSelectionChanged() signal, is that it is the only one that is emitted with out a parameter when a QListWidget is clicked.
And I don't want one with a parameter, since this slot reacts to several list selections, and works on several currentItem()'s.

Thanks in advance.