Hi Wladek

Thanks for your reply.

I added the check when focus changes and that did the trick. I have in my delegate item:
Qt Code:
  1. onFocusChanged: {
  2. if(listView.currentIndex == index){
  3. delegateItem.state = 'selected';
  4. }
  5. else{
  6. delegateItem.state = 'deselected';
  7. }
  8. }
To copy to clipboard, switch view to plain text mode 


br,
Tyrnikeisari