Skip to content
Verified Commit c9503549 authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

FlatpakPermissionModel: Fix model index ranges in load & save

When emitting dataChanged signal, wrong (out of bounds) ranges seem to
be ignored by ListView. After moving `showAdvanced` state inside model,
row count is not directly equivalent to number of managed permission
entries in the backing list, so we must use effective rowCount() to get
a correct range.

Amends 7b957dc2
parent 2879e30a
Pipeline #349362 passed with stage
in 1 minute and 5 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