Align sorting in OverviewPage::SetupTransactionList with transaction view

This commit is contained in:
Alexander Block 2017-12-22 06:03:27 +01:00
parent abe84cb9ec
commit b1df5e9e87

View File

@ -658,7 +658,7 @@ void OverviewPage::SetupTransactionList(int nNumItems) {
filter->setDynamicSortFilter(true);
filter->setSortRole(Qt::EditRole);
filter->setShowInactive(false);
filter->sort(TransactionTableModel::Status, Qt::DescendingOrder);
filter->sort(TransactionTableModel::Date, Qt::DescendingOrder);
ui->listTransactions->setModel(filter.get());
ui->listTransactions->setModelColumn(TransactionTableModel::ToAddress);