oKcerG / SortFilterProxyModel

A nicely exposed QSortFilterProxyModel for QML
MIT License
298 stars 101 forks source link

RangeFilter bug when only a minimum or maximum value is set #58

Closed oKcerG closed 5 years ago

oKcerG commented 5 years ago

For example when no minimumValue is set, the minimumValue is still compared to the role value as if it was an invalid QVariant.

This can lead to rows being filtered out when they should instead be kept.