View Single Post
Berserk's Avatar
Posts: 199 | Thanked: 156 times | Joined on May 2010 @ Holland
#6
Diph, that worked

In the connected slot function I've put:
Code:
if(ui->fileList->currentItem()->isSelected() == false)
        ui->fileList->currentItem()->setSelected(true);
To make sure it really selects the currently selected item.

The problem was that when scrolling, the current item changed, but that item wasn't selected.
It's not really user friendly when item A is selected (blue), while B is the current item while/after scrolling.

Unbelievable how simple the solution is, considering all the complex concepts I've let loose on this issue.

Thanks!
__________________
Wallpaeper - Desktop background manager (in Extras!)
Config Reader - Export all Gconf to an HTML file + compare feature (Extras-testing)
Even though these programs are available for free, I would appreciate any donations