Commit eaa43245 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Allow to sort elements

parent e4d18d85
Pipeline #54404 passed with stage
in 44 minutes and 14 seconds
......@@ -102,6 +102,7 @@ void DKIMManageRulesWidget::loadSettings()
auto item = new DKIMManageRulesWidgetItem(mTreeWidget);
item->setRule(rule);
}
mTreeWidget->setSortingEnabled(true);
mTreeWidget->header()->setSortIndicatorShown(true);
mTreeWidget->header()->setSectionsClickable(true);
mTreeWidget->sortByColumn(0, Qt::AscendingOrder);
......
Markdown is supported
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