Project

General

Profile

Actions

Bug #13408

open

WSortFilterProxyModel sends wrong information about inserted rows

Added by Stephan Ehlers 11 days ago.

Status:
New
Priority:
Normal
Target version:
-
Start date:
01/10/2025
Due date:
% Done:

80%

Estimated time:

Description

If rows to a model are inserted via a WSortFilterProxyModel (i.e. a call to WSortFilterProxyModel::insertRows()), while the current implementation asks the underlying model to insert the correct number of rows, it then proceeds to assume that only exactly one row has been added in all cases.

I created a PR on github (https://github.com/emweb/wt/pull/224) to fix this; it is based on Wt 4.11.1 and applies without issues to 4.10.4 as well.

No data to display

Actions

Also available in: Atom PDF