diff options
author | Cozz Lovan <cozzlovan@yahoo.com> | 2014-01-18 00:01:14 +0100 |
---|---|---|
committer | Cozz Lovan <cozzlovan@yahoo.com> | 2014-01-19 18:21:54 +0100 |
commit | 4d901023b732efb492d89cebd8555c689ab7663e (patch) | |
tree | 68956b053435bc164a33389ee3fb466f1b8e0cd1 /src/qt/receivecoinsdialog.cpp | |
parent | 8476d5d407645229faf3017b390f041ce0666247 (diff) |
[Qt] Add sorting feature to the requested payments table
Diffstat (limited to 'src/qt/receivecoinsdialog.cpp')
-rw-r--r-- | src/qt/receivecoinsdialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/receivecoinsdialog.cpp b/src/qt/receivecoinsdialog.cpp index 075a16dabf..38dc88f63b 100644 --- a/src/qt/receivecoinsdialog.cpp +++ b/src/qt/receivecoinsdialog.cpp @@ -55,6 +55,8 @@ void ReceiveCoinsDialog::setModel(WalletModel *model) ui->recentRequestsView->horizontalHeader()->setSectionResizeMode(RecentRequestsTableModel::Message, QHeaderView::Stretch); #endif ui->recentRequestsView->horizontalHeader()->resizeSection(RecentRequestsTableModel::Amount, 100); + + model->getRecentRequestsTableModel()->sort(RecentRequestsTableModel::Date, Qt::DescendingOrder); } } |