Qt/GameList: Ensure resort when new entries are added

This commit is contained in:
spycrab 2018-04-28 12:53:10 +02:00
parent 28138cfde9
commit 7db86c20d0
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@
ListProxyModel::ListProxyModel(QObject* parent) : QSortFilterProxyModel(parent) ListProxyModel::ListProxyModel(QObject* parent) : QSortFilterProxyModel(parent)
{ {
setDynamicSortFilter(true);
} }
bool ListProxyModel::filterAcceptsRow(int source_row, const QModelIndex& source_parent) const bool ListProxyModel::filterAcceptsRow(int source_row, const QModelIndex& source_parent) const