diff options
author | Tyler Hardin <th020394@gmail.com> | 2016-05-09 22:46:33 -0400 |
---|---|---|
committer | Tyler Hardin <th020394@gmail.com> | 2016-05-09 22:46:33 -0400 |
commit | 2d5603c7e8316c3051304ed22553da64d686df56 (patch) | |
tree | 18edd952a211e52ebd2835496a0421dd1b5769ff /src/qt/overviewpage.cpp | |
parent | 42a67533828fe419f021d586495f8266db71b659 (diff) |
Qt: Sort transactions by date
Conflicted transactions can get stuck at the top. This fixes that.
Diffstat (limited to 'src/qt/overviewpage.cpp')
-rw-r--r-- | src/qt/overviewpage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/overviewpage.cpp b/src/qt/overviewpage.cpp index d577345e49..6a0404cbf7 100644 --- a/src/qt/overviewpage.cpp +++ b/src/qt/overviewpage.cpp @@ -219,7 +219,7 @@ void OverviewPage::setWalletModel(WalletModel *model) 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); ui->listTransactions->setModelColumn(TransactionTableModel::ToAddress); |