Align sorting in OverviewPage::SetupTransactionList with transaction view
This commit is contained in:
parent
abe84cb9ec
commit
b1df5e9e87
@ -658,7 +658,7 @@ void OverviewPage::SetupTransactionList(int nNumItems) {
|
|||||||
filter->setDynamicSortFilter(true);
|
filter->setDynamicSortFilter(true);
|
||||||
filter->setSortRole(Qt::EditRole);
|
filter->setSortRole(Qt::EditRole);
|
||||||
filter->setShowInactive(false);
|
filter->setShowInactive(false);
|
||||||
filter->sort(TransactionTableModel::Status, Qt::DescendingOrder);
|
filter->sort(TransactionTableModel::Date, Qt::DescendingOrder);
|
||||||
|
|
||||||
ui->listTransactions->setModel(filter.get());
|
ui->listTransactions->setModel(filter.get());
|
||||||
ui->listTransactions->setModelColumn(TransactionTableModel::ToAddress);
|
ui->listTransactions->setModelColumn(TransactionTableModel::ToAddress);
|
||||||
|
Loading…
Reference in New Issue
Block a user