Commit 7a1345dd authored by Yerrey Dev's avatar Yerrey Dev Committed by Nate Graham
Browse files

Fix sidebar entry order when changing embedded categories

We disable dynamicSortFilter as otherwise functions used on the
proxy model will not work properly and reflect the correct changes
in the source model.

BUG: 456209
parent ddb53c4a
Pipeline #200615 passed with stage
in 7 minutes and 9 seconds
......@@ -10,6 +10,7 @@
ViewsProxyModel::ViewsProxyModel(QObject *parent)
: QSortFilterProxyModel(parent)
{
setDynamicSortFilter(false);
setSortCaseSensitivity(Qt::CaseInsensitive);
sort(0, Qt::AscendingOrder);
}
......
Supports Markdown
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