Refresh FilterListModel after ListStore changed

Hello,

I’m trying to make a Todo application. I have a ListStore containing the todo item with the information of whether it is finished or not. I have wrapped a FilterListModel outside of it when the user choose to keep only the active ones.

When the user toggle the list item, the property is changed inside the ListStore, but the FilterListModel is not updated accordingly. If I understand correctly, the update will only happen if the list item is added or removed but not when it is updated. So is there a method I can force the recompute of the FliterListModel?

Thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.