Commit 1c2af2d7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix sorting tree items

parent c7113b28
......@@ -34,6 +34,8 @@ ConfigurePluginsListWidget::ConfigurePluginsListWidget(QWidget *parent)
mainLayout->setMargin(0);
mListWidget = new QTreeWidget(this);
mListWidget->setSortingEnabled(true);
mListWidget->sortItems(0, Qt::AscendingOrder);
mListWidget->setObjectName(QStringLiteral("listwidget"));
mListWidget->setHeaderHidden(true);
mListWidget->setSelectionMode(QAbstractItemView::SingleSelection);
......
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