Skip to content
Commit 4473859d authored by Marco Martin's avatar Marco Martin
Browse files

Fix PaginateModel

The logic when to do a reset and when to do an insertRows was a bit
fragile, and it happened that in the beginning when the model was empty
the condition went into inserting rows, but after this was done the same
condition wasn't true anymore and and endResetModel() was called
instead.
use a member bool to track whether we are performing a model reset.
parent c72bb870
Pipeline #507248 failed with stage
in 16 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment