The property can't work: QSortFilterProxyModel.sortCaseSensitivity
doesn't change the pattern and the superclass doesn't have any signals,
making it impossible to manually update the results.

We 'could' consider overriding the property to make this work. However,
I'm not sure it's particularly useful: in your example, new RegExp("^" +
searchTerms, "i") achieves the same as setting the superclass property,
as does using a literal regular expression such as /^B/i.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1663924

Title:
  filterCaseSensitivity doesn't work when used in SortFilterModel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1663924/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to