Actions
Bug #3514
closedWt 3.3.3 WBatchEditProxyModel::flags() breaks model Indexes
Start date:
08/04/2014
Due date:
% Done:
0%
Estimated time:
Description
Dear Devs,
WBatchEditProxyModel's flags() method in Wt 3.3.3 passes inconsistent indexes
to the proxied model.
The attached patch fixes that and works for me. It also patches the unit test,
I haven't actually verified that part, though.
Best regards,
Jan
Files
Updated by Koen Deforche over 10 years ago
- Status changed from New to InProgress
- Assignee set to Roel Standaert
- Target version set to 3.3.4
Updated by Roel Standaert over 10 years ago
- Status changed from InProgress to Resolved
return sourceModel()->flags(index);
indeed needs to be
return sourceModel()->flags(sourceIndex);
. The
return WAbstractProxyModel::flags(index);
line is correct, though. I've fixed it and implemented a working test.
Updated by Koen Deforche about 10 years ago
- Status changed from Resolved to Closed
Actions