Please sign in to comment.
Avoid unnecessary queries when populating filtered table
When a table is filtered and the browsed tabled is changed and then we return to this filtered table, the table view shows several incorrect disabled rows. The same may happen when refreshing this table. This seems to be produced by a (yet unsolved) concurrency problem triggered by several consecutive queries, that are signalled by setting the text of the stored filters in the table header filter. These unnecessary queries are avoided by setting the stored filter values at the same time as the table in the SQL table model, making sure that no intermediate queries are executed while the filters are set. This seems to work around the concurrency problem and the symptom of the invalid rows does not appear in those situations.
- Loading branch information...
Showing with 14 additions and 7 deletions.