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/transactionview.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/transactionview.cpp')
-rw-r--r-- | src/qt/transactionview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp index eb6111e682..199a7b2d77 100644 --- a/src/qt/transactionview.cpp +++ b/src/qt/transactionview.cpp @@ -203,7 +203,7 @@ void TransactionView::setModel(WalletModel *model) transactionView->setSelectionBehavior(QAbstractItemView::SelectRows); transactionView->setSelectionMode(QAbstractItemView::ExtendedSelection); transactionView->setSortingEnabled(true); - transactionView->sortByColumn(TransactionTableModel::Status, Qt::DescendingOrder); + transactionView->sortByColumn(TransactionTableModel::Date, Qt::DescendingOrder); transactionView->verticalHeader()->hide(); transactionView->setColumnWidth(TransactionTableModel::Status, STATUS_COLUMN_WIDTH); |