Tobi2504
20th April 2015, 11:37
Hi guys,
i have a QTableWidget with a few (in my case 5) columns and following properties:
- Select Row
- Sorting Enabled
When the table is sorted in the first column and I change the content an item of the first column, the row changes to the new position in the sorting order but the selection for some rows stays on the same row number as before. (see picture)
11104
After a few tests with different column numbers I saw, that only the first and the last column selection will change. When I click on any item, the selection goes to the normal behavior.
Does somebody have the idea to fix the problem?
Thanks,
Tobi
i have a QTableWidget with a few (in my case 5) columns and following properties:
- Select Row
- Sorting Enabled
When the table is sorted in the first column and I change the content an item of the first column, the row changes to the new position in the sorting order but the selection for some rows stays on the same row number as before. (see picture)
11104
After a few tests with different column numbers I saw, that only the first and the last column selection will change. When I click on any item, the selection goes to the normal behavior.
Does somebody have the idea to fix the problem?
Thanks,
Tobi