https://bugs.kde.org/show_bug.cgi?id=371515
--- Comment #4 from Thomas Fischer <fisc...@unix-ag.uni-kl.de> --- (In reply to Juergen Spitzmueller from comment #2) > Created attachment 101718 [details] > Updated patch (addressing the mentioned additional issue) > > I found the solution to the index mismatching problem: We have to use > sortFilterProxyModel()->mapFromSource. > > The updated patch does this. Thank you for your bug report and patch! I was not aware that QItemSelectionModel::Select and QItemSelectionModel::Rows combined have such an effect. I modified your patch in two ways: 1. Removed setSelectedElements as it is not used anywhere. 2. Made both variables row and idx 'const'. -- You are receiving this mail because: You are watching all bug changes.